validateConditionGroup(Defined in: src/modules/validation.ts:179 Accepts an array of RulesError objects and returns a formatted message stringcondition):boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
condition | string[] | A condition group represented as an array of strings. |
Returns
boolean
boolean, true if the groups 3 terms and 1 is AND or OR, false otherwise.