KotZen
1.0-SNAPSHOT
KotZen
/
[root]
/
optional
optional
fun
<
T
>
Parser
<
T
>
.
optional
(
)
:
(
Parseable
)
->
Pair
<
Parseable
,
Option
<
T
>
>
Content copied to clipboard
Returns a parser that always succeeds and returns the optional value if input was consumed