isNums static method

bool isNums(
  1. Iterable list
)

Checks that if List list can be a List<num>

Implementation

static bool isNums(Iterable list) => list.every(isNum);