So to get a boolean, you'd have to do (item.amount...
# suitescript
m
So to get a boolean, you'd have to do (item.amount?length > 0)