isSet<T> function

IValidator isSet<T>()

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>() => isType<Set<T>>();