So, Yes, I know ho to make a function to do this. But, I am wondering if type() or typeof() have a string for integer that they return, just to make things simpler. So, is there one? Because if you do this:
local thingy = "str"
if typeof(thingy) == "string" then -- tells you if the string you are comparing is returnable, but integer isn't based on it, just want to double check with you guys.
print("Oof")
end
Then it tells you if that is a value it can return, so you can see if you are doing things right for figuring out if it i a string, a number, but it doesn't do it for integer.

1 comment
Because, I am pretty sure that integer is something that type() or typeof() can return, but it doesn't say it can be returned by type(), and typeof() doesn't really give you a big description, so do you guys know all the returnable values aswell?