Function not

  • Takes a parser and runs it. If the parser fails, not returns a success with a null result. If the parser succeeds, not returns a failure.

    Parameters

    • parser: Parser<any>

      parser to run

    Returns Parser<null>

    • a parser that runs the given parser. If it fails, returns a success with a null result. If it succeeds, returns a failure.

Generated using TypeDoc