@phranck @swiftui Agree; was the reason I added if/then/else to Kitten templates (https://codeberg.org/kitten/app#conditionals).
But the big caveat with wrapper functions is they don’t short circuit. So not only the conditional but every branch gets evaluated. Which is not what happens with the built-in ternary operator and can lead to crashes if you expect branches to only evaluate when true and for values to exist when branches are evaluated. So you have to use optional chaining everywhere.