:sparkles: This is an old work account. Please reference @brandonchinn178 for all future communication :sparkles:
{
a: Try {
b: Int
}
}
Will return Just if a has a value matching { b: Int } or Nothing if not. This is different from Maybe, where Nothing is only returned if the value is null; any other non-matching values returns a parse error.
:sparkles: This is an old work account. Please reference @brandonchinn178 for all future communication :sparkles:
Will return
Just
ifa
has a value matching{ b: Int }
orNothing
if not. This is different fromMaybe
, whereNothing
is only returned if the value isnull
; any other non-matching values returns a parse error.