Say your making a script and by the end of it you tell it to return a value. You don't know what kind of value it is but you hope it's a table. How would you go about confirming that the value is a table?
By using the type
function!
tab = {} print(type(tab)) if type(tab) == "table" then print("This will print!") else print("but this won't! D:") end