isBool function
Returns a IValidator that checks if the given value is a bool
For better performance and readability, use the $isBool variable directly.
Implementation
IValidator isBool() => isType<bool>();
Returns a IValidator that checks if the given value is a bool
For better performance and readability, use the $isBool variable directly.
IValidator isBool() => isType<bool>();