isNumber function

IEskValidator isNumber()

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

Implementation

IEskValidator isNumber() => isType<num>();