For example:
local var = {}
is there a way to check if the variable above is a table or a string and more?
For example:
local var = {}
is there a way to check if the variable above is a table or a string and more?
use type()
local var = {}
print(type(var))
this will print table
This discussion is preserved as it was. New answers, comments, and votes are closed.