I'm currently doing some basic math functions for a ModuleScript and have been wondering whether there is a way to find out if the value/variable is numerical. I'm having a table given as argument and the script is supposed to find out whether the values inside of the table are numerical to prevent any kind of errors. Those values can be strings, numerical values such as 1 or 2 or objects in workspace.
COMMUNITY QUESTION
How to find out whether a variable/value is numerical?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I kind of have to ask, are these like values such as StringValue, NumberValue, or other value objects. Or something along the lines of values in a table like local tab = {1,'hello',55,{'test'}}?