var instance; // Type: wijmo.input.IFormatValidateLib; var returnValue; // Type: bool // Parameters var value; // Type: string var format; // Type: string returnValue = instance.validateMask(value, format);
Parameters
- value
- The string value to validate.
- format
- The formatting string to use in validating the value.
For the full list of supported format keywords, see Mask Format Keywords.
Return Value
A bool indicating whether the string value is valid for the specified format.