core.memorystorage.getitem
Home > @medplum/core > MemoryStorage > getItem
MemoryStorage.getItem() method
Returns the current value associated with the given key, or null if the given key does not exist.
Signature:
getItem(key: string): string | null;
Parameters
Parameter  | Type  | Description  | 
|---|---|---|
key  | string  | The specified storage key.  | 
Returns:
string | null
The current value associated with the given key, or null if the given key does not exist.