## removeDuplicates() function

Removes duplicates in array using FHIRPath equality rules.

**Signature:**

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

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| arr | [TypedValue](/content/docs/sdk/core.typedvalue) | The input array. |

**Returns:**

[TypedValue](/content/docs/sdk/core.typedvalue)

The result array with duplicates removed.

- [removeDuplicates() function](/content/docs/sdk/core.removeduplicates#removeduplicates-function/index.html)
- [Parameters](/content/docs/sdk/core.removeduplicates#parameters/index.html)
