When you build and execute the above program, it produces the following result on Linux −

string
number
boolean
function
function
nil
string

By default, all the variables will point to nil until they are assigned a value or initialized. In Lua, zero and empty strings are considered to be true in case of condition checks. Hence, you have to be careful when using Boolean operations. We will know more using these types in the next chapters.