Suchjs Official Site

Dict type

Suchjs built-in type, which can be configured to take an item from the dictionary, etc. In the browser environment, the `enumeration type` can basically be used to instead of this type, but the focus is different. For details, see :dict type document

Demo

  • Such.assign("dict", [ 
      "Hello", 
      "World", 
      "Suchjs" 
    ]); 
    Such.as(":dict:#[data=dict]");