!! myDiv means double statement! (equal to zero).
myDiv seems to be class !! myDiv results in a boolean (false or true) and again! change this boolean value again (will not lead to an instance of the class (pointer)).
You can also write (myDiv! = Null).
Personally, I prefer myDiv! = Null, but !! myDiv is shorter.
Michel keijzers
source share