Function many1

  • Applies the source parser 1 or more times until it fails softly. Yields all of its results in an array.

    Type Parameters

    • T

    Parameters

    • maxIterations: number = Infinity

      Optionally, the maximum number of times to apply the source parser. Defaults to Infinity.

    Returns ParjsCombinator<T, [T, ...T[]]>