get Method

Looks up a value by its key.

get(key: K): V | undefined

Parameter Type Description
key K The key to search for

Returns - the value associated with the key, or undefined if the key is not present in the dictionary.

Defined in

Last Updated: 08 January, 2020