Constructors
constructor
-
Methods
clear
-
Returns void
containsKey
- containsKey(key: string): boolean
-
Parameters
Returns boolean
get
-
Parameters
Returns TValue
keys
-
Returns string[]
remove
- remove(key: string): boolean
-
Parameters
Returns boolean
set
- set(key: string, value: TValue): void
-
Parameters
-
key: string
-
value: TValue
Returns void
values
-
Returns TValue[]
An implementation of a dictionary. This is really similar to a plain old object in JavaScript except that it's typed for TypeScript.