Skip to main content

pathIsDisabled()

pathIsDisabled(path: Path, query: RuleGroupTypeAny): boolean

Determines if the rule or group at the specified path is either disabled itself or disabled by an ancestor group.

Parameters

ParameterType
pathPath
queryRuleGroupTypeAny

Returns

boolean

Defined in

packages/react-querybuilder/src/utils/pathUtils.ts:66


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.