matchesRule
function matchesRule( conditions, context, segments?): boolean;Defined in: evaluator.ts:431
All top-level nodes must pass (logical AND). An empty list always matches. Each node may itself be a nested AND/OR/NOT group (see evaluateNode).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
conditions |
ConditionNode[] |
context |
EvaluationContext |
segments? |
SegmentMap |
Returns
Section titled “Returns”boolean