Function: removeItem
▸ removeItem(key
, storage?
): void
remove a key from the specified storage if the storage is set to 'any', try all storage
Parameters
Name | Type | Description |
---|---|---|
key | string | : name of the key to get the value from |
storage? | string | null | : localStorage, sessionStorage, cookie, any (defaults to any) |
Returns
void
Defined in
onekijs/packages/onekijs-framework/src/utils/storage.ts:122