Interface SimpleMap<K, V>
interface SimpleMap<K, V> { get(key: K): undefined | V; set(key: K,
value: V): this; has(key: K): boolean; delete(key: K): boolean; } Methods
get
- get(key): undefined | V
Returns undefined | V
set
- set(key, value): this
Returns this
has
- has(key): boolean
Returns boolean
delete
- delete(key): boolean
Returns boolean
definition of an object that provides map-like methods