Skip to main content

Function: exportToCSV()

exportToCSV(data, filePath, options): void

Defined in: utils.ts:19

Exports the provided data as a CSV file. If a single object is provided, it will be wrapped in an array.

Parameters

data

any

The data to export (object or array of objects).

filePath

string

The output file path.

options

preserveNulls

boolean

Returns

void