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