Free Touch Pricker
    Preparing search index...

    Function rowFromString

    • Converts a string into a Row.

      Tries to convert a string representation of a row into a row on a particular stage. If any bells are missing from the input string then these will be added in order at the end of the row. An exception is thrown if:

      • The input string is too long for the stage
      • A character is repeated in the input string
      • A character doesn't represent a bell on the current stage
      > Pricker.rowFromString('2143', Pricker.Stage.Minimus);
      [2, 1, 4, 3]

      Parameters

      • input: string
      • stage: Stage

      Returns Row