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