thinking outside the box here, but if they created...
# language-proposals
j
thinking outside the box here, but if they created a declaration expression you could do
Copy code
if (val taco ?= (val bar ?= (val foo ?= optionalFoo).optionalBar).optionalTaco) { ... }
only downside is that it reads backwards