Properties
Readonly size
size: number
Methods
clear
-
Returns void
delete
-
Parameters
Returns boolean
entries
-
forEach
- forEach<T>(callback: (key: K, value: V) => void | T): undefined | T
- forEach<T, S>(callback: (key: K, value: V) => void | T, thisArg: S): undefined | T
-
Type parameters
Parameters
-
callback: (key: K, value: V) => void | T
-
- (key: K, value: V): void | T
-
Parameters
Returns void | T
Returns undefined | T
-
Type parameters
Parameters
-
callback: (key: K, value: V) => void | T
-
- (key: K, value: V): void | T
-
Parameters
Returns void | T
-
thisArg: S
Returns undefined | T
get
- get(key: K): undefined | V
-
Parameters
Returns undefined | V
has
-
Parameters
Returns boolean
isEmpty
-
Returns boolean
keys
-
set
- set(key: K, newValue: V): Map<K, V>
-
Parameters
Returns Map<K, V>
values
-