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
Parameter | Type | Description |
---|---|---|
arr | TypedValue[] | The input array. |
Returns:
The result array with duplicates removed.