Skip to content

TwoWayMap.hasKey method

TwoWayMap › hasKey

Checks if the map has a key.

Signature:

hasKey(key: Key): boolean

Parameters:

ParameterTypeDescription
keyKeyThe key.

Returns: booleantrue if the map has the key, false otherwise.