Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

Index

Properties

Readonly [Symbol.toStringTag]

[Symbol.toStringTag]: string

Readonly size

size: number

Static Map

Map: MapConstructor

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<[string, T]>
  • Returns an iterable of entries in the map.

    Returns IterableIterator<[string, T]>

clear

  • clear(): void
  • Returns void

clone

  • clone(value: T): T

delete

  • delete(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

entries

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

forEach

  • forEach(callback: (value: T, key: string, map: Map<string, T>) => void, thisArg?: any): void
  • Parameters

    • callback: (value: T, key: string, map: Map<string, T>) => void
        • (value: T, key: string, map: Map<string, T>): void
        • Parameters

          • value: T
          • key: string
          • map: Map<string, T>

          Returns void

    • Optional thisArg: any

    Returns void

get

  • get(key: string): T | undefined
  • Parameters

    • key: string

    Returns T | undefined

has

  • has(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

keys

  • keys(): IterableIterator<string>
  • Returns an iterable of keys in the map

    Returns IterableIterator<string>

set

  • set(key: string, value: T): this
  • Parameters

    • key: string
    • value: T

    Returns this

values

  • values(): IterableIterator<T>

Legend

  • Variable
  • Function
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Method
  • Interface
  • Interface with type parameter
  • Inherited property
  • Inherited method
  • Enumeration
  • Static property

Generated using TypeDoc