parseTrackerSyntax(Parses the tracker syntax and validates its type and default value.syntax
):Either
<RulesError
,TrackerDefinition
>
Parameter | Type | Description |
---|---|---|
syntax | trackerJSON | The JSON representation of the tracker syntax. |
Either
<RulesError
, TrackerDefinition
>
An object containing the tracker’s name, type, and encoded default value.