DistinctValue

Description

A DistinctValue is an object that represents a unique distinct value. It is composed of one or multiple fields. Each field contains a single value. If two DistinctValue objects have the same number of fields with the same names and values, then they are considered equal and represent the same unique distinct value.

Examples

In the current example, an object has two fields named firstName and lastName with values “John” and “Doe”. This object represents a distinct value.

const distinctValue = {

  firstName: "John",

  lastName: "Doe"

};

Remarks

DistinctValue is used by GroupChannel to target a specific group using a GroupPath or to enumerate the list of distinct values within a group.