nil

Nil is a type with a single value, nil.

A variable has a nil value by default.

local a
print(a) -- prints: nil
local f = function()
  -- do not return anything
end

local a = f()
-- nothing returned, a == nil
print(a)