Function splitMosPattern

  • Split a string like "5L 2s" into [5, 2].

    Parameters

    • mosPattern: string

      MOS pattern such as "5L 2s".

    Returns [number, number]

    A pair of intergers representing the number of large and small steps.