exists static method

bool exists(
  1. Map map,
  2. Object key
)

Returns true when map has key at the top level (no traversal).

Implementation

static bool exists(Map map, Object key) => map.containsKey(key);