The object returned by adt: one constructor (or singleton, for nullary cases) per case, plus name, is and an exhaustive match.
name
is
match
Readonly
The ADT's name, as passed to adt.
Type guard for instances of this ADT (any case).
Matches a value against one handler per case. Omitting a case is a compile-time error — this is the statically exhaustive form.
Partial form: any subset of cases plus a _ fallback handler.
_
The object returned by adt: one constructor (or singleton, for nullary cases) per case, plus
name,isand an exhaustivematch.