Public function

Get a number of indices between two indices.

Signature
function getIndicesBetween(
  below: string | undefined,
  above: string | undefined,
  n: number
): string[]
Parameters
NameDescription

below

string | undefined

The index below.

above

string | undefined

The index above.

n

number

The number of indices to get.

Returns
string[]
Source

packages/editor/src/lib/utils/reordering/reordering.ts

getIndicesBelowgetPointerInfo