anyIs method

bool anyIs(
  1. T value
)

Returns true if any item is equal to value.

Implementation

bool anyIs(T value) => any((item) => item == value);