Skip to main content

core.removeduplicates

Home > @medplum/core > removeDuplicates

removeDuplicates() function

Removes duplicates in array using FHIRPath equality rules.

Signature:

export declare function removeDuplicates(arr: TypedValue[]): TypedValue[];

Parameters

ParameterTypeDescription
arrTypedValue[]The input array.

Returns:

TypedValue[]

The result array with duplicates removed.