Skip to main content

core.fhirpatharrayequals

Home > @medplum/core > fhirPathArrayEquals

fhirPathArrayEquals() function

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

Signature:

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

Parameters

ParameterTypeDescription
xTypedValue[]The first array.
yTypedValue[]The second array.

Returns:

TypedValue[]

FHIRPath true if the arrays are equal.