Method | Description | |
---|---|---|
check ( $rules, $value ) : boolean | Check if the value matches the rules. | |
ends ( $options, $value ) : boolean | Check if a value ends in any of the given values. | |
equals ( $options, $value ) : boolean | Check if a value is equal to any of the given values. | |
parseRules ( $rules ) : array | Parse rules. | |
starts ( $options, $value ) : boolean | Check if a value starts in any of the given values. |