Matcher for one of a collection of patterns.
class option matcher[readonly value element type, covariant any value result type]
Declaration: option matcher
Announcements: option matcher
All supertypes: base pattern / validatable / value / entity / pattern / predicate / function / deeply_immutable data / debuggable / Object / stringable
Declaration: constructor
Declaration: add matcher
Parse the list and produce a result.
Assumes this pattern matches the list.
implement result type or null parse(readonly list[element type] the list)
Declaration: parse
Direct overrides: matcher