core.fhirpatharrayequivalent | Medplum

fhirPathArrayEquivalent() function

Determines if two arrays are equivalent according to FHIRPath equality rules.

Signature:

export declare function fhirPathArrayEquivalent(x: TypedValue[], y: TypedValue[]): TypedValue[];

Parameters

Parameter Type Description
x TypedValue The first array.
y TypedValue The second array.

Returns:

TypedValue

FHIRPath true if the arrays are equivalent.