getUnsupportedRuleFeature()
getUnsupportedRuleFeature(
ruleParam:RuleType,caps:FormatCapabilities):UnsupportedRuleFeature|null
Defined in: packages/core/src/utils/formatQuery/formatCapabilities.ts:165
Returns the first feature of rule unsupported per caps, or null if fully supported.
Match-mode rules are checked by mode only (operator ignored). Regex operators are checked as
their contains/doesNotContain fallbacks.
Parameters
| Parameter | Type |
|---|---|
ruleParam | RuleType |
caps | FormatCapabilities |
Returns
UnsupportedRuleFeature | null
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.