get Method

Looks up a value by its key.

get(key: K): undefined | V

Parameter Type Description
key K The key to search for

Returns - undefined | V

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

Defined in

Last Updated: 11 June, 2024