4

e.g. a += b! - c!; I saw several expressions like this but I can't find what it's called or what it does

1

1 Answer 1

6

you're telling the compiler that even though judging purely by the code, the variable could be undefined, you, the programmer, know for 100% sure that it will have a value, so you're not going to do a check to see if it has a value or not.

See playground example

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.