maybe`foo`
maybe.exactly`foo`
maybe('foo')
RegExp equivalent:
/(?:foo)?/
Lazy matching
maybeLazily`foo`
maybe.lazily`foo`
RegExp equivalent:
/(?:foo)??/
Match a token 0 or 1 times.
Rest
...args: unknown[]maybe`foo`
maybe.exactly`foo`
maybe('foo')
RegExp equivalent:
/(?:foo)?/
Lazy matching
maybeLazily`foo`
maybe.lazily`foo`
RegExp equivalent:
/(?:foo)??/
Match a token 0 or 1 times.
maybe`foo`
maybe.exactly`foo`
maybe('foo')
RegExp equivalent:
/(?:foo)?/
Lazy matching
maybeLazily`foo`
maybe.lazily`foo`
RegExp equivalent:
/(?:foo)??/
Generated using TypeDoc
Match a token 0 or 1 times.