or<U> method

Parser<T> or<U>(
  1. Parser<T> other
)

Shortcut for or-ing two parsers.

Implementation

Parser<T> or<U>(Parser<T> other) => any<T>([this, other]);