Skip to main content

core.lrucache.get

Home > @medplum/core > LRUCache > get

LRUCache.get() method

Returns the value for the given key.

Signature:

get(key: string): T | undefined;

Parameters

ParameterTypeDescription
keystringThe key to retrieve.

Returns:

T | undefined

The value if found; undefined otherwise.