Class OpenCodeList<T>

Type-safe interface over the native Set with all methods (except for forEach) being immutable.

Type parameters

  • <T>: string

Constructors

Accessors

Methods

Constructors

constructor

Accessors

size

  • get size(): number

Methods

add

clear

delete

forEach

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

has

  • (value: string): value is T

values

  • (): IterableIterator<T>

Generated using TypeDoc. Made by uStudio Company with ❤️