Skip to main content

foundation-comms.session.getsessionstorageitem

Home > @genesislcap/foundation-comms > Session > getSessionStorageItem

Session.getSessionStorageItem() method

Returns the value of the item with the specified key from the session storage.

Signature:

getSessionStorageItem(key: string | UserInfoKeys): string;

Parameters

Parameter

Type

Description

key

string | UserInfoKeys

The key of the item to get.

Returns:

string

  • The value of the item with the specified key.