Methods
(inner) matchCharacterSetConstraint(charCode, constraint) → {number|false}
Checks if a given character code matches one of the programs character code constraints.
Parameters:
Name | Type | Description |
---|---|---|
charCode | number | The number to check |
constraint | characterCodeConstraintsAttributes | The character code constraint object to match against. |
Returns:
If the charCode
matched the constraint
the function will return the charCode
else false
will be returned.
- Type
- number | false