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