isList method

bool isList(
  1. dynamic value
)

Checks if the given value is a list.

Implementation

bool isList(value) {
  return value is List;
}