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
Parameter | Type |
---|---|
id | string |
query | RuleGroupTypeAny |
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.