Hex Core JS
    Preparing search index...

    Function toCSVData

    • Formats the given data array as CSV file data. Should only be used in cases where more control is desired, in general, use toCSV.

      Type Parameters

      • T extends Record<any, any>

      Parameters

      • data: T[]

        The data to format.

      • Optionalcolumns: (keyof T)[]

        An array of column names to include (in order) in the formatted data.

      Returns string