core.lrucache.get | Medplum

LRUCache.get() method

Returns the value for the given key.

Signature:

get(key: string): T | undefined;

Parameters

Parameter Type Description
key string The key to retrieve.

Returns: T | undefined

The value if found; undefined otherwise.