TaxRegistration::doesValueMatchMask Method
Indicates whether a specified value follows a specified mask.
Syntax
client server public static boolean doesValueMatchMask(TaxRegistrationNumber _value, TaxRegistrationFormat _registrationFormat)
Run On
Called
Parameters
- _value
Type: TaxRegistrationNumber Extended Data Type
The value to validate against the mask.
- _registrationFormat
Type: TaxRegistrationFormat Extended Data Type
The format to validate the value by.
Return Value
Type: boolean
true if the value matches the mask; otherwise, false.
Remarks
All the characters must match, except for a mask character of '#', which allows for 0-9, ampersand, and A-Z.