validateConditionGroup(condition): boolean
Defined in: src/modules/validation.ts:68 Accepts an array of RulesError objects and returns a formatted message string

Parameters

ParameterTypeDescription
conditionstring[]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.