Skip to content

TwoWayMap.getValue method

TwoWayMap › getValue

Gets a value by its key.

Signature:

getValue(key: Key): null | Value

Parameters:

ParameterTypeDescription
keyKeyThe key.

Returns: null | Value — The value, or null if the map has no such key.