parseTrackers(Defined in: src/parsing/parsing-utilities.ts:76 Parses tracker references in a rule condition string and adds them to the argument list.condition,names,trackerNameToID): [string,TrackerArgument[]]
Parameters
| Parameter | Type | Description |
|---|---|---|
condition | string | The rule condition string. |
names | any[] | An array of argument placeholders. |
trackerNameToID | NameToID[] | A mapping of tracker IDs to their names and types. |
Returns
[string, TrackerArgument[]]
an array of created Tracker objects.