Skip to main content

getPathOfID()

getPathOfID(id: string, query: RuleGroupTypeAny): null | Path

Defined in: packages/react-querybuilder/src/utils/pathUtils.ts:54

Returns the Path of the RuleType or RuleGroupType/RuleGroupTypeIC with the given id within a query.

Parameters

ParameterType
idstring
queryRuleGroupTypeAny

Returns

null | Path


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.