• This function converts an array of objects into an array of strings for .trc file format, to be able to save it to local storage.

    Parameters

    • traceData: TraceData[]

      Array of objects containing the result data.

    Returns string[]

    Array of strings, where each string is a comma-separated representation of a row of data.

    Remarks

    This function takes in an array of objects, and converts it into an array of strings, where each string is a comma-separated list of the object's property values. The keys of the first object in the array are used to create a header string that is prepended to the output array. The header string is prefixed with an asterisk(*) character to match the .trc file format.

Generated using TypeDoc