Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MutableMap<K, V>

Type parameters

  • K

  • V

Hierarchy

Index

Properties

Map

Map: MapConstructor

Readonly [Symbol.toStringTag]

[Symbol.toStringTag]: string

Readonly size

size: number

Methods

[Symbol.iterator]

  • Returns an iterable of entries in the map.

    Returns IterableIterator<[Mutable<K>, Mutable<V>]>

clear

  • clear(): void
  • Returns void

delete

  • Parameters

    Returns boolean

entries

  • Returns an iterable of key, value pairs for every entry in the map.

    Returns IterableIterator<[Mutable<K>, Mutable<V>]>

forEach

get

  • Parameters

    Returns Mutable<V> | undefined

has

  • Parameters

    Returns boolean

keys

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

    Returns IterableIterator<Mutable<K>>

set

  • Parameters

    Returns this

values

  • values(): IterableIterator<Mutable<V>>
  • Returns an iterable of values in the map

    Returns IterableIterator<Mutable<V>>

Generated using TypeDoc