isCollectionValue static method

bool isCollectionValue(
  1. Object value
)

Returns true if value is a collection (List, Iterable, Map or Set).

Implementation

static bool isCollectionValue(Object value) {
  return TypeInfo.from(value).isCollection;
}