Home > @rushstack/node-core-library > ProtectableMap > has
ProtectableMap.has() method
Returns true if the specified key belongs to the map.
Signature:
has(key: K): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
key | K |
Returns:
boolean
Home > @rushstack/node-core-library > ProtectableMap > has
Returns true if the specified key belongs to the map.
Signature:
has(key: K): boolean;
Parameter | Type | Description |
---|---|---|
key | K |
Returns:
boolean