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({String? message}) => isType<bool>(message: message);
Returns a IValidator that checks if the given value is a bool
For better performance and readability, use the $isBool variable directly.
IValidator isBool({String? message}) => isType<bool>(message: message);