getParentPath()
getParentPath(
path
):Path
Truncates the last element of an array and returns the result as a new array.
Parameters
Parameter | Type |
---|---|
path | Path |
Returns
Defined in
packages/react-querybuilder/src/utils/pathUtils.ts:29
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.