respect-validation/docs/BoolType.md
2017-03-28 11:53:14 +02:00

642 B

BoolType

  • BoolType()

Validates if the input is a boolean value:

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: