title: How to clear an array in Julia
body: <p>I have an array representing image metadata that I want to clear out. Currently, I use the <code>empty!()</code> function but it is throwing an error because I think it needs to be a dictionary and I have an array so I am looking for an alternate way to clear the Array.</p>
  <p>For reference, here is the type I am working with:</p>
  <pre><code>Array{ImageMetadata.ImageMeta{ColorTypes.Gray{FixedPointNumbers.Normed{UInt8,8}},2,Array{ColorTypes.Gray{FixedPointNumbers.Normed{UInt8,8}},2},P} where P&lt;:AbstractDict{Symbol,Any},1}
  </code></pre>