@eagleoutice/flowr - v2.17.16
    Preparing search index...

    Function reorderCells

    • Moves the cells of rows so that the notebook runs top to bottom, or undefined if it does already or no order of the first tries does. Only cells with fences or markers move, as text. With withText, the text above a cell (up to the cell before it) moves along with it, inline code in it included, else the text stays where it is. Either way, the inline code of the text must still find what it reads in the cells above it.

      Parameters

      • rows: readonly string[]
      • facts: readonly CellFacts[]
      • withText: boolean = false
      • tries: number = 256

      Returns Reordering | undefined