Skip to main content

core.fhirpathis

Home > @medplum/core > fhirPathIs

fhirPathIs() function

Determines if the typed value is the desired type.

Signature:

export declare function fhirPathIs(typedValue: TypedValue, desiredType: string): boolean;

Parameters

ParameterTypeDescription
typedValueTypedValueThe typed value to check.
desiredTypestringThe desired type name.

Returns:

boolean

True if the typed value is of the desired type.