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.