isNotEmpty<T> static method

bool isNotEmpty<T>(
  1. Iterable<T>? list
)

Implementation

static bool isNotEmpty<T>(Iterable<T>? list) {
  return list != null && list.isNotEmpty;
}