HashSet.remove

Remove an element from this set if present.

  1. bool remove(ref T value)
  2. bool remove(T value)
    struct HashSet(T)
    @nogc @safe pure nothrow
    bool
    remove
    ()
    if (
    isAssignmentCopyable!(Unqual!T)
    )

Parameters

value
Type: T

The value to remove from the set.

Return Value

Type: bool

true if a value was removed.

Meta