respect-validation/docs/NullValue.md
2015-08-20 01:38:41 -03:00

219 B

NullValue

  • v::nullValue()

Validates if the input is null. This rule does not allow empty strings to avoid ambiguity.

v::nullValue()->validate(null); //true

See also: