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

Parameter

Type

Description

x

TypedValue[]

The first array.

y

TypedValue[]

The second array.

Returns:

TypedValue[]

FHIRPath true if the arrays are equal.