mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 10:40:24 +02:00
163 B
163 B
BoolType
v::boolType()
Validates if the input is a boolean value:
v::boolType()->validate(true); //true
v::boolType()->validate(false); //true