delete(e, t) {
    if (t === void 0)
      return this.map.delete(e);
    {
      const r = this.map.get(e);
      if (r) {
        const i = r.indexOf(t);
        if (i >= 0)
          return r.length === 1 ? this.map.delete(e) : r.splice(i, 1), !0;
      }
      return !1;
    }
  }
Operates differently depending on whether a `value` is given:
 * With a value, this method deletes the specific key / value pair from the multimap.
 * Without a value, all values associated with the given key are deleted.

@returns `true` if a value existed and has been removed, or `false` if the specified
    key / value does not exist.