Home > @rushstack/node-core-library > ProtectableMap > set
ProtectableMap.set() method
Sets a value for the specified key. This operation does NOT invoke the ProtectableMap onSet() hook.
Signature:
set(key: K, value: V): this;
Parameters
Parameter | Type | Description |
---|---|---|
key | K | |
value | V |
Returns:
this