Class ReorderedIndexMap

Thin wrapper around a vector that maps visual indices to source indices

map[visualIndex] = sourceIndex

Produced by reorder_visual() on [Bidi].

Constructors

Accessors

Methods

Constructors

Accessors

  • get asSlice(): number[]
  • Returns number[]

  • get ffiValue(): number
  • Returns number

  • get isEmpty(): boolean
  • Returns boolean

  • get length(): number
  • Returns number

Methods

  • Parameters

    • index: number

    Returns number