type metamethod lua code example
Example 1: lua data types
nil, boolean, number, string, function, userdata, thread, and table
Example 2: lua variable types
-- Nil (no value)
-- Number => Example: 1234567890
-- String => Example: "random text"
-- Function
-- Userdata
-- Boolean (true/fanse)
-- Table
-- Thread