getRuleGroupCombinator()
getRuleGroupCombinator<
C>(ruleGroup:RuleGroupTypeAny,combinators:FullOptionList<C>):string
Defined in: packages/core/src/utils/deriveRuleContext.ts:268
The effective combinator for a group: its own combinator when it has one, otherwise the
first configured combinator (which is the case for groups with independent combinators).
This intentionally covers only the current property-based API. The RuleGroup component
additionally falls back to its deprecated combinator prop; that fallback stays in the hook.
Type Parameters
| Type Parameter | Default type |
|---|---|
C extends FullCombinator | FullCombinator |
Parameters
| Parameter | Type |
|---|---|
ruleGroup | RuleGroupTypeAny |
combinators | FullOptionList<C> |
Returns
string
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.