Documentation
    Preparing search index...

    Class HashSet<T>

    Type Parameters

    • T

    Implements

    Index
    "[toStringTag]": "HashSet"
    • Removes a specified value from the Set.

      Parameters

      • value: T

      Returns boolean

      Returns true if an element in the Set existed and has been removed, or false if the element does not exist.

    • Executes a provided function once per each value in the Set object, in insertion order.

      Parameters

      • callbackfn: (value: T, value2: T, set: Set<T>) => void
      • OptionalthisArg: unknown

      Returns void