• Make a parser that returns a Match without consuming input in case the inner parser didn't match and a NonMatch in case the inner parser matched.

    Type Parameters

    • TToken

    • TOptions

    • TValue

    Parameters

    • p: Parser<TToken, TOptions, TValue>

      A parser.

    Returns Parser<TToken, TOptions, true>

Generated using TypeDoc