Module utils/Format

Module utils/Format

Functions

Const formatKeyValueData

  • parse [{key:"row_count",value:4}] to {row_count:4}

    Parameters

    • data: KeyValuePair[]

      key value pair array

    • keys: string[]

      all keys in data

    Returns object

    • [x: string]: any