opt<E> function

OptParser<E> opt<E>(
  1. Parser<E> p
)

Creates the OptParser parser.

Implementation

OptParser<E> opt<E>(Parser<E> p) => OptParser(p);