Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Set<T>

Type parameters

  • T

Hierarchy

  • Set

Index

Properties

Methods

Properties

size

size: number

Methods

add

  • add(value: T): Set<T>

clear

  • clear(): void

delete

  • delete(value: T): boolean

forEach

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

    • callbackfn: function
        • (value: T, index: T, set: Set<T>): void
        • Parameters

          • value: T
          • index: T
          • set: Set<T>

          Returns void

    • Optional thisArg: any

    Returns void

has

  • has(value: T): boolean

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