rules
Creates a set of validation rules.
Return
The set of rules.
Parameters
V
The type of the value to be validated.
block
The block of code to build the rules.
Creates a set of validation rules.
The set of rules.
The type of the value to be validated.
The block of code to build the rules.