Makes a validator tolerant of null values.
Accepts null unconditionally, delegating anything else to the wrapped validator, so an explicitly emptied property is constrained only when actually filled.
null
The type of the present value
The validator applied to present values, omitted or disabled to accept any value
A validator reporting the violations a present value incurs
Makes a validator tolerant of null values.
Accepts
nullunconditionally, delegating anything else to the wrapped validator, so an explicitly emptied property is constrained only when actually filled.