Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Map<K, V>

Type parameters

  • K

  • V

Hierarchy

Index

Properties

size

size: number

Methods

clear

  • clear(): void

delete

  • delete(key: K): boolean

entries

forEach

  • forEach<T, S>(callback: function, thisArg?: S): T | undefined
  • Type parameters

    • T

    • S

    Parameters

    • callback: function
        • (this: S, key: K, value: V): T | void
        • Parameters

          • this: S
          • key: K
          • value: V

          Returns T | void

    • Optional thisArg: S

    Returns T | undefined

get

  • get(key: K): V | undefined

has

  • has(key: K): boolean

isEmpty

  • isEmpty(): boolean

keys

set

  • set(key: K, newValue: V): this

values