Depends on what you recognize as a number (integers, floats, various representations of the latter), but variations
is_number(str) = tryparse(Float64, str) ≠ nothing
could be a good start.
Depends on what you recognize as a number (integers, floats, various representations of the latter), but variations
is_number(str) = tryparse(Float64, str) ≠ nothing
could be a good start.