Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • ImmuSet

Implements

  • ReadonlySet<T>

Index

Constructors

constructor

  • new ImmuSet(values?: ReadonlyArray<T> | Iterable<T>, hash?: Hash): ImmuSet

Accessors

size

size:

Methods

__@iterator

  • __@iterator(): IterableIterator<T>

add

clear

delete

entries

  • entries(): IterableIterator<[T, T]>

forEach

  • forEach(callbackfn: function, thisArg?: any): void
  • Parameters

    • callbackfn: function
        • (value: T, value2: T, set: ReadonlySet<T>): void
        • Parameters

          • value: T
          • value2: T
          • set: ReadonlySet<T>

          Returns void

    • Optional thisArg: any

    Returns void

has

  • has(value: T): boolean

keys

  • keys(): IterableIterator<T>

toArray

  • toArray(): T[]

toJSON

  • toJSON(): T[]

values

  • values(): IterableIterator<T>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc