title: How to write case condition expression in DustJS?
body: <p>I have a array type in Javascript:</p>
  
  <pre><code>var type=[0,1,2,3,4,5];
  </code></pre>
  
  <p>The corresponding key value pair collection is actually like this;</p>
  
  <pre><code>[{0:'Pointer'},{1:'Line'},{2:'Oval'},{3:'Rectangle'},{4:'Ellipse'},{5,'Star'}]
  </code></pre>
  
  <p>My .dust file displays the {type} mark, how should I display their corresponding values?</p>