Skip to main content

findPath()

findPath(path: Path, query: RuleGroupTypeAny): FindPathReturnType

Returns the RuleType or RuleGroupType/RuleGroupTypeIC at the given path within a query.

Parameters

ParameterType
pathPath
queryRuleGroupTypeAny

Returns

FindPathReturnType

Defined in

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


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.