delete method

bool delete(
  1. K key
)

Removes a key (if found) from the Map.

Be careful not to call this method while iterating over the collection. @param {K} key The key to insert. @return {boolean} true if the key was found and removed, false otherwise.

Implementation

_i2.bool delete(K key) => _i4.callMethod(
      this,
      'delete',
      [key],
    );