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
Parameter  | Type  | Description  | 
|---|---|---|
typedValue  | The typed value to check.  | |
desiredType  | string  | The desired type name.  | 
Returns:
boolean
True if the typed value is of the desired type.