Skip to main content

core.memorystorage.key

Home > @medplum/core > MemoryStorage > key

MemoryStorage.key() method

Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.

Signature:

key(index: number): string | null;

Parameters

Parameter

Type

Description

index

number

The numeric index.

Returns:

string | null

The nth key.