skipRight

fun <T, S> Parser<T>.skipRight(next: Parser<S>): (Parseable) -> ParserOutput<T>?

Returns a parser that uses this parser's output, ignoring the successful result of the next

Parameters

next

The parser whose result will be ignored