any method

bool any(
  1. bool test(
    1. K key,
    2. V value
    )
)

Checks whether any entry of this map satisfies test.

Iterable.any

Implementation

bool any(bool Function(K key, V value) test) {
  return entries.any((entry) => test(entry.key, entry.value));
}