core.memorystorage.getitem | Medplum

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.