mapTo

fun <S, T> Parser<S>.mapTo(value: T): Parser<T>

Maps a parser output to a new value

Parameters

value

The new value to return