remove method

bool remove(
  1. T val
)

Removes a value (if found) from the Set.

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

Implementation

_i2.bool remove(T val) => _i4.callMethod(
      this,
      'remove',
      [val],
    );