BoolType
BoolType()
Validates whether the type of the input is boolean.
v::boolType()->validate(true); // true
v::boolType()->validate(false); // true
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Renamed from Bool to BoolType |
| 0.3.9 | Created as Bool |
See also: