Skip to content

MapOfSets.get method

MapOfSets › get

Unofficial

Get the set of values for the given key, or undefined if not found.

Signature:

get(key: Key): Set<Value> | undefined

Parameters:

ParameterTypeDescription
keyKeyThe key.

Returns: Set<Value> | undefined — Set of values, or undefined.