storage
Stentor API Reference / stentor-storage/src / storage
Function: storage()
storage(
storage,key):string
Defined in: packages/stentor-storage/src/findStorageDependentMatch.ts:114
Returns the value for the provided key from the storage, converted to a string.
If the value doesn't exist, an empty string is returned.
Note: This is primarily used by StorageDependentCheck within conditionals.
Parameters​
storage​
key​
string
Returns​
string