defaultRuleGroupProcessorRulePilot
constdefaultRuleGroupProcessorRulePilot:RuleGroupProcessor<Condition>
Defined in: rules-engine/src/utils/formatRulesEngine/defaultRuleGroupProcessorRulePilot.ts:20
Default rule group processor for the "rulepilot" export format. Compiles a rule group into a
rulepilot Condition: and → { all }, or → { any }, and a negated group (not) is
wrapped in { none: [...] } (rulepilot has no not). Invalid/placeholder rules—and rules whose
operator rulepilot cannot represent (the rule processor returns null for those)—are filtered
out exactly as in the other export targets. An empty nested group is dropped; an empty outermost
group compiles to an always-true { all: [] }.
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.