Contains implementations of frequently used rules.
Properties:
Name | Type | Description |
---|---|---|
isInRole |
function | Factory method to create is-in-role rules. |
isInAnyRole |
function | Factory method to create is-in-any-role rules. |
isInAllRoles |
function | Factory method to create is-in-all-role rules. |
isNotInRole |
function | Factory method to create is-not-in-role rules. |
isNotInAnyRole |
function | Factory method to create is-not-in-any-role rules. |
required |
function | Factory method to create required rules. |
maxLength |
function | Factory method to create max-length rules. |
minLength |
function | Factory method to create min-length rules. |
lengthIs |
function | Factory method to create length-is rules. |
maxValue |
function | Factory method to create max-value rules. |
minValue |
function | Factory method to create min-value rules. |
expression |
function | Factory method to create expression rules. |
dependency |
function | Factory method to create dependency rules. |
information |
function | Factory method to create information rules. |
nullResultOption |
object | Enumeration of expression rule actions in case of a null value. |