maxItems method

bool maxItems(
  1. Iterable input,
  2. int max
)

Implementation

bool maxItems(Iterable input, int max) => input.length <= max;