fn

validateValueWithMask

tested

Whether 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

ParameterTypeDescription
valuestring
maskMaskExpression

Returns

boolean