Skip to content

Type Alias: CmcdFormatter ​

ts
type CmcdFormatter = (value, options) => 
  | ValueOrArray<
  | number
  | SfItem<number>>
  | ValueOrArray<
  | string
| SfItem<string>>;

Defined in: CmcdFormatter.ts:15

A formatter for CMCD values.

Parameters ​

value ​

CmcdValue

The value to format.

options ​

CmcdFormatterOptions

Returns ​

| ValueOrArray< | number | SfItem<number>> | ValueOrArray< | string | SfItem<string>>

The formatted value.

A Streaming Video Technology Alliance project.