Skip to content

TwoWayMap.getKey method

TwoWayMap › getKey

Gets a key by its value.

Signature:

getKey(value: Value): Key | undefined

Parameters:

ParameterTypeDescription
valueValueThe value.

Returns: Key | undefinedThe key.