I'm developing a plugin for Oxide 2. I've been learning from other plugins and I've noticed that some of them use null
instead of nil
. For example:
if args[1] == null then
Oxide 2 is written in C#, so I assume that null
is defined in C# or in Lua Interface.
Is there any difference between them?
Update:
I've somewhere read that it can be used for check, if MySQL column is NULL
. Is that true?