respect-validation/docs/BoolType.md
Henrique Moody 66027b85a5 Documentation improvements
- Add a space after comments with `//`;
- Add missing "See also" sections in some files
2015-10-19 22:55:05 -02:00

539 B

BoolType

  • v::boolType()

Validates if the input is a boolean value:

v::boolType()->validate(true); // true
v::boolType()->validate(false); // true

See also: