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

Parameter

Type

Description

key

string

The key to retrieve.

Returns:

T | undefined

The value if found; undefined otherwise.