title: How to check if a variable is scalar in julia
body: <p>I would like to check if a variable is scalar in julia, such as Integer, String, Number, but not AstractArray, Tuple, type, struct, etc. Is there a simple method to do this (i.e. <code>isscalar(x)</code>)</p>