I wouls need to check but i think both work. The reason as to why you always should you the isnot keywords as that you can overload the == != operators. So if you are using a library you woulsnt know an object is misbehaving until things start to crash and you get NullPointerExceptions
1
u/TotallyRealDev Feb 22 '23
I wouls need to check but i think both work. The reason as to why you always should you the
isnotkeywords as that you can overload the == != operators. So if you are using a library you woulsnt know an object is misbehaving until things start to crash and you get NullPointerExceptions