Skip to main content

defaultRuleGroupProcessorNative

const defaultRuleGroupProcessorNative: RuleGroupProcessor<NativePredicate>

Defined in: rules-engine/src/utils/formatRulesEngine/defaultRuleGroupProcessorNative.ts:20

Default rule group processor for the "native" export format. Compiles a rule group into a NativePredicate that ANDs ("and") or ORs ("or") its child predicates and negates the result when not is set. Invalid/placeholder rules are filtered out exactly as in the other export targets; an empty (or invalid outermost) group compiles to an always-true predicate.


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.