So I'm wondering what the difference is between say
I'm aware of the whole non-nullible concept, and as far as I know this applies to
someVariable!, but then what happens if the exclamation mark comes before the variable?
Thanks in advance!
Solution 1: Siddharth Agrawal
not variable used in boolean expressions. Its python or english equivalent would be
if not variable: //From if (!variable)
Hope it helps. Let me know if you have any other queries