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