isList<T> function

IValidator isList<T>({
  1. String? message,
})

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);