getCommonAncestorPath()
Finds the deepest/longest path that two paths have in common.
Parameters
| Parameter | Type |
|---|---|
path1 | Path |
path2 | Path |
Returns
Defined in
packages/react-querybuilder/src/utils/pathUtils.ts:48
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.