Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Map<K, V>

Type parameters

  • K

  • V

Hierarchy

  • Map

Index

Properties

Methods

Properties

size

size: number

Methods

clear

  • clear(): void

delete

  • delete(key: K): boolean

forEach

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

    • callbackfn: function
        • (value: V, index: K, map: Map<K, V>): void
        • Parameters

          • value: V
          • index: K
          • map: Map<K, V>

          Returns void

    • Optional thisArg: any

    Returns void

get

  • get(key: K): V

has

  • has(key: K): boolean

set

  • set(key: K, value: V): Map<K, V>

Generated using TypeDoc