isInt function
- String? message,
Returns a IValidator that checks if the given value is a int
For better performance and readability, use the $isInt variable directly.
Implementation
IValidator isInt({String? message}) => isType<int>(message: message);