Skip to main content

moveInPlace

const moveInPlace: MoveMethod

Defined in: packages/core/src/utils/queryTools.ts:838

Moves a rule or group from one path to another in place. In the options parameter, pass { clone: true } to copy instead of move.

Returns

The query (mutated in place) with the rule or group moved or cloned.


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.