What's the best way to skip an iteration?
# suitescript
c
What's the best way to skip an iteration?
d
if you have used search.create().run() to get your results, you can just
return true
inside your callback function for your
results.each()
function
c
so an early call to return true?
Guess that makes sense
that skips the rest of the logic and moves it along
thanks!
d
yes an early return, no worries!