...
iHub provides a fast feature to access array items called smart objects
Expression | comment |
---|---|
{{array.first}} | Gets the first object |
{{array.first}} | Gets the last object |
{{array.index_n}} | Gets the index object, n as number |
Mustache
Info | ||
---|---|---|
| ||
example variable result of variable users: [ A, B , C ] Body: {{#users}} Result: A,B,C, |
...
Info | ||
---|---|---|
| ||
example variable result of variable users: [ rick(rick), mr.bot(mr.bot) , cc (cc) ] Body: {{#users}} Result: rick@rixter.se,mr.bot@rixter.se,cc@rixter.se, |
...