Would be nice to have an optional chaining operator (similar to JavaScript’s ?., see Optional chaining (?.) - JavaScript | MDN), essentially that navigates the same as the regular . operator, with the exception that it short-circuits and returns Blank if the left hand side expression of the operator is Blank.
Syntax could be anything, does not need to follow the JS approach (although I believe it is supported by many languages), as long as the semantics is the same.
This would enable simpler checking of blank values.
I’ve read the topics you linked and I agree with the proposed changes agreed upon there. I don’t think it’s exactly the same scenario however.
Ultimately, just playing around with an example, it seems the . operator already handles optional chaining implicitly. Should have checked before making this topic
Here’s the example:
As you can see it does not complain for both approaches retrieving the nested field, as the . operator will automatically shortcut and return Blank if the LHS is Blank.