Returns true if value is a collection (List, Iterable, Map or Set).
true
value
static bool isCollectionValue(Object value) { return TypeInfo.from(value).isCollection; }