foundation-comms.session.removeitem
Home > @genesislcap/foundation-comms > Session > removeItem
Session.removeItem() method
Removes the item with the specified key from the specified storage.
Signature:
removeItem(key: string | UserInfoKeys, storage: StorageType): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string | UserInfoKeys |
The key of the item to remove. |
|
storage |
The storage type to use. |
Returns:
void