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
Parameter | Type | Description |
---|---|---|
value | unknown | The unknown value to check. |
Returns:
A "best guess" TypedValue for the given value.