If / else expressions

The condition I think would be a good idea is:

An if or switch (or other compound?) statement is an expression if all sub-statements are expressions.

6 Likes

Maybe with Swift 6 :slightly_smiling_face:

1 Like