Skip to main content

core.totypedvalue

Home > @medplum/core > toTypedValue

toTypedValue() function

Returns a "best guess" TypedValue for a given value.

Signature:

export declare function toTypedValue(value: unknown): TypedValue;

Parameters

ParameterTypeDescription
valueunknownThe unknown value to check.

Returns:

TypedValue

A "best guess" TypedValue for the given value.