Function csvFormatBody

  • Equivalent to dsvFormat(",").formatBody.

    Type Parameters

    • T extends object

    Parameters

    • rows: readonly T[]

      Array of object rows.

    • Optional columns: readonly (keyof T)[]

      An array of strings representing the column names.

    Returns string