how do i check if for example
local value = {}
is a table and not a string or a number
3 Likes
You could use the type()
function.
if type(value) == "table" then
-- Do something
end
58 Likes