It doesn't compile to JS, but this is one of the canonical use cases for Stanza 's (1) "optional" type system
(1) http://lbstanza.org/optional_typing.html
It doesn't compile to JS, but this is one of the canonical use cases for Stanza 's (1) "optional" type system
(1) http://lbstanza.org/optional_typing.html