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 string value indicating the mask format that is accepted. For more information about format keywords, please see Mask Format Keywords. The regex mask format is invalid.
Return Value
Returns a Boolean value indicating whether the string date value is valid for the specified format.