getItem
Function: getItem()
getItem(
prefix
,key
):any
Defined in: src/utils/useLocalstorage.ts:29
Retrieves the stored value for the given key from local storage.
Parameters
prefix
string
Prefix to be added to the key, common for all keys.
key
string
The unique name identifying the value.
Returns
any
- The stored value for the given key from local storage.