respect-validation/docs/Bool.md
2015-02-12 14:37:33 -02:00

147 B

Bool

  • v::bool()

Validates if the input is a boolean value:

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