rather than guess about such things I just use lod...
# suitescript
s
rather than guess about such things I just use lodash and a predicate I get to define. e.g.
Copy code
const so = new SalesOrder(12345)
const foundLine = _.find(so.item, line=> line.foo + line.bar == 5)