title: jsonnet - remove null values from array
body: <p>I want to remove empty values and duplicates from an array, duplicate values are getting removed, empty isn't</p>
  
  <p>template:</p>
  
  <pre><code>local sub = [ "", "one", "two", "two", ""];
  {
   env: std.prune(std.uniq(std.sort(sub)))
  }
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>{
    "env": [
      "",
      "one",
      "two"
    ]
  }
  </code></pre>
  
  <p>std.prune is supposed to remove empty, null but it is not happening, am I doing something wrong? or is there other way to remove empty values?</p>