Open jcouyang opened 7 years ago
just a handy predicate, so we can do
blah.filter(Maybe.isJust)
instead of
blah.filter(x=>x._name==='Just')
or
blah.filter(Maybe.case({Just: ()=>true, _: ()=>false}))
just a handy predicate, so we can do
instead of
or