domain: client
language: javascript
class Item class
Use each method to iterate over details of an item.
The each_detail() method specifies a function to run for each detail of the item (the current detail is passed as a parameter).
You can break the each_detail loop at a particular iteration by making the callback
function return false
.