isBool function

IEskValidator isBool()

Returns a IEskValidator that checks if the given value is a bool For better performance and readability, use the $isBool variable directly.

Implementation

IEskValidator isBool() => isType<bool>();