isList<T> function

IValidator isList<T>()

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