If I have a string such as, "Float64", can I convert it to the Julia DataType?

If it’s just a single symbol, you don’t even need Meta.parse — you can do getproperty(Base, Symbol("Float64")) … but needing to do this is often a sign that you should re-think what you are doing.

6 Likes