Skip to main content

move

const move: MoveMethod

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

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

Returns

A new query 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.