any method

bool any(
  1. EntryPredicate<K, V> test
)

Returns true if at least one entry matches the given predicate test.

Returns false if the receiver is null or empty.

Implementation

bool any(EntryPredicate<K, V> test) =>
    this?.entries.any((e) => test(e.key, e.value)) ?? false;