CmcdFormatter: ((value: CmcdValue, options?: CmcdEncodeOptions) => string | number)

A formatter for CMCD values.

Type declaration

    • (value, options?): string | number
    • Parameters

      Returns string | number

      The formatted value.