Documentation
    Preparing search index...

    Type Parameters

    • T

    Implements

    Index

    Constructors

    Properties

    "[toStringTag]": "HashSet"

    Accessors

    Methods

    • 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

    • Parameters

      • other: Iterable<unknown, any, any> | ReadonlySetLike<unknown>

      Returns boolean

      a boolean indicating whether this Set has no elements in common with the argument.

    • Parameters

      • other: ReadonlySetLike<unknown>

      Returns boolean

      a boolean indicating whether all the elements in this Set are also in the argument.

    • Parameters

      • other: Iterable<unknown, any, any> | ReadonlySetLike<unknown>

      Returns boolean

      a boolean indicating whether all the elements in the argument are also in this Set.