activelogic-cs icon indicating copy to clipboard operation
activelogic-cs copied to clipboard

`Try` expression wrapper

Open eelstork opened this issue 4 years ago • 0 comments

The Try expression wrapper would return a boolean. Example:

return Try(obj = EvalObj()) && done;  // false if null, true otherwise.

Converting null objects to a failing status is an alternative; type safety?

eelstork avatar Dec 04 '20 05:12 eelstork