Is if something == nil then
the same as saying if not something then
?
If it is in that case, yes it does the same.
But one thing to note is that “not” is used as a logic gate where it inverts the value that you input (e.g: inputting true will output false and inputting false will output true).
Where as “nil” means nothingness
1 Like
Yes I understand. I was just a little confused on that one.
I use ‘not’ like this:
if not Debounce then
Instead of
if Debounce == false then
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.