• Generate CSV from useStateHistory hook data

    note: timeColName is used with timeFormatter function only

    Parameters

    • __namedParameters: {
          data: any;
          mapping: StateHistoryOIDColMapping[];
          timeColName?: string;
          timeFormatter?: ((t) => string);
      }

      Options

      • data: any
      • mapping: StateHistoryOIDColMapping[]
      • Optional timeColName?: string
      • Optional timeFormatter?: ((t) => string)
          • (t): string
          • Parameters

            • t: number

            Returns string

    Returns null | string

    Throws

    if a formula is specified but invalid

Generated using TypeDoc