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