Skip to content

Type Editor


Type Editor / @type-editor/tables / utils/move-row-in-array-of-rows / MoveDirection

Type Alias: MoveDirection

ts
type MoveDirection = -1 | 0 | 1;

Defined in: tables/src/utils/move-row-in-array-of-rows.ts:7

Direction indicator for row movement.

  • -1: Moving backward/upward (toward smaller indexes)
  • 0: Natural direction based on origin/target positions
  • 1: Moving forward/downward (toward larger indexes)