fn
isFixedCharacter
testedWhether a mask slot is a fixed (literal) character rather than a matcher.
Signature
ts
export function isFixedCharacter(slot: RegExp | string): slot is string{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
slot | RegExp | string | — |
Returns
slot is string