Iterate over each item contained in the collection given
collectionEach(collection, closure)
→ returns void
coll = [{
id: 0,
name: 'me'
},{
id: 1,
name: 'you'
}];
collectionEach(coll,function(item) {
writeOutput(item.name);
writeOutput(' - ');
});
Expected Result: me - you -
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.