Lua has eight basic types (nil, boolean, number, string, userdata, function, thread, and table) that fall into two groups: