contains method

bool contains(
  1. K key,
  2. V value
)

Returns true if the map contains an element equal to the key-value pair, false otherwise.

Implementation

bool contains(K key, V value) {
  _count();
  return _m.contains(key, value);
}