Skip to content

Latest commit

 

History

History
60 lines (32 loc) · 905 Bytes

File metadata and controls

60 lines (32 loc) · 905 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > ProtectableMap > get

ProtectableMap.get() method

Retrieves the value for the specified key.

Signature:

get(key: K): V | undefined;

Parameters

Parameter

Type

Description

key

K

Returns:

V | undefined

undefined if the value is undefined OR if the key is missing; otherwise returns the value associated with the key.