If I want to check if a variable is a number what is a succinct way to do this?
For example I can do something like:
if typeof(x) == Int64 || typeof(x) == Float64 #do something else
But the above wouldn’t capture other types of Integers or Floats, e.g. Float32, etc.
Thank you for the help!