no it's not

Code:
set %i 0
if (!%i) echo a
if (%i == $null) echo b


it will say a but not b