Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • T

Hierarchy

  • ReadonlySet

Index

Properties

size: number

Methods

  • [iterator](): IterableIterator<T>
  • Iterates over values in the set.

    Returns IterableIterator<T>

  • entries(): IterableIterator<[T, T]>
  • Returns an iterable of [v,v] pairs for every value v in the set.

    Returns IterableIterator<[T, T]>

  • forEach(callbackfn: ((value: T, value2: T, set: ReadonlySet<T>) => void), thisArg?: any): void
  • Parameters

    • callbackfn: ((value: T, value2: T, set: ReadonlySet<T>) => void)
    • Optional thisArg: any

    Returns void

  • has(value: T): boolean
  • Parameters

    • value: T

    Returns boolean

  • keys(): IterableIterator<T>
  • Despite its name, returns an iterable of the values in the set.

    Returns IterableIterator<T>

  • values(): IterableIterator<T>
  • Returns an iterable of values in the set.

    Returns IterableIterator<T>

Generated using TypeDoc