Bitbybit Docs
    Preparing search index...

    Class ArrayToCsvDto (Inputs.CSV)

    Feeds csv.arrayToCsv with the rows to write, each a list of cells, and the separators to put between cells and rows.

    Index

    Constructors

    • Parameters

      • Optionalarray: (string | number | boolean)[][]
      • OptionalrowSeparator: string
      • OptionalcolumnSeparator: string

      Returns ArrayToCsvDto

    Properties

    array: (string | number | boolean)[][]

    The rows, each a list of cells; numbers and booleans are written as text, null and undefined as empty cells

    [["name", "age"], ["John", "30"]]
    
    rowSeparator?: string

    The text put between rows, normally a line break; \n written as two characters is used as one

    \n
    
    columnSeparator?: string

    The text put between cells, normally a comma; a cell containing it is wrapped in quotes

    ,