Function: hasAtLeastOneKeyInMap()
hasAtLeastOneKeyInMap<
T
>(map
:ReadonlyMap
<T
,any
>,keys
: readonlyT
[]):boolean
Checks whether any of the keys are in the map
Type Parameters
Type Parameter |
---|
T |
Parameters
Parameter | Type | Description |
---|---|---|
map | ReadonlyMap <T , any > | The map to check |
keys | readonly T [] | The keys to find in the map |
Returns
boolean
true
if at least one of the keys is in the map, false
otherwise.