# RemoveDuplicatesPreview Interface

> RemoveDuplicatesPreview interface in the TX Sheet Control TypeScript API for Node.js: Duplicate removal plan; row indices are zero based.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > RemoveDuplicatesPreview Interface
- **524 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/llms-full.txt

---

Duplicate removal plan; row indices are zero based.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Members

#### Properties

| Property | Description |
|---|---|
| [hasHeaders](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/hasheaders-property/llms-full.txt) | The hasHeaders value of RemoveDuplicatesPreview. |
| [range](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/range-property/llms-full.txt) | The range value of RemoveDuplicatesPreview. |
| [remaining](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/remaining-property/llms-full.txt) | The remaining value of RemoveDuplicatesPreview. |
| [removed](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/removed-property/llms-full.txt) | The removed value of RemoveDuplicatesPreview. |
| [removedRows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/removedrows-property/llms-full.txt) | The removedRows value of RemoveDuplicatesPreview. |
| [rows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/rows-property/llms-full.txt) | The rows value of RemoveDuplicatesPreview. |

### Examples

Pass the RemoveDuplicatesPreview value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

function inspectRemoveDuplicatesPreviewRange(
    removeDuplicatesPreview: Awaited<ReturnType<ServerSheetControl['workbook']['previewRemoveDuplicates']>>,
) {
    const value = removeDuplicatesPreview['range'];
    console.log('RemoveDuplicatesPreview.range', value);
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## In This Section

- [RemoveDuplicatesPreview.hasHeaders Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/hasheaders-property/llms-full.txt): RemoveDuplicatesPreview.hasHeaders property in the TX Sheet Control TypeScript API for Node.js, with its type boolean and a TypeScript example.
- [RemoveDuplicatesPreview.range Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/range-property/llms-full.txt): RemoveDuplicatesPreview.range property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.
- [RemoveDuplicatesPreview.remaining Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/remaining-property/llms-full.txt): RemoveDuplicatesPreview.remaining property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [RemoveDuplicatesPreview.removed Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/removed-property/llms-full.txt): RemoveDuplicatesPreview.removed property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [RemoveDuplicatesPreview.removedRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/removedrows-property/llms-full.txt): RemoveDuplicatesPreview.removedRows property in the TX Sheet Control TypeScript API for Node.js, with its type number[] and a TypeScript example.
- [RemoveDuplicatesPreview.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/rows-property/llms-full.txt): RemoveDuplicatesPreview.rows property in the TX Sheet Control TypeScript API for Node.js, with its type number[] and a TypeScript example.

---

## Nearby

- **Previous:** [RemoveDuplicatesOptions.hasHeaders Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatesoptions/hasheaders-property/llms-full.txt)
- **Next:** [RemoveDuplicatesPreview.hasHeaders Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatespreview/hasheaders-property/llms-full.txt)
