fn
validateValueWithMask
testedWhether value is a valid (possibly partial) prefix of the mask. Used as the
conform fast-path and to derive a complete signal at full length.
Signature
ts
export function validateValueWithMask(value: string, mask: MaskExpression): boolean{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
value | string | — |
mask | MaskExpression | — |
Returns
boolean