I want to determine if a value is numeric or not before trying to use a function on it. As a specific example:
z = [1.23,"foo"] for val in z if isnumeric(val) round(z) end end
Here isnumeric() is a function that, it seems to me, does not exist in Julia. I can come up with several different ways that this can be done, but I would like to see some suggestions for the βbestβ way.
types julia-lang
bizzy
source share