Skip to content

TwoWayMap.getValue method

TwoWayMap › getValue

Gets a value by its key.

Signature:

getValue(key: Key): undefined | Value

Parameters:

ParameterTypeDescription
keyKeyThe key.

Returns: undefined | ValueThe value.