Skip to content

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).

Parameter Type
conditions ConditionNode[]
context EvaluationContext
segments? SegmentMap

boolean