<@U6XEQ5PTQ> When functions have well defined retu...
# suitescript
a
@Jacob D When functions have well defined return values I always do my checks using those return values...
findSublistLineWithValue
will always return
-1
if not found... so I do my checks like:
if (catItemIndex !== -1)
or
if (catItemIndex === -1)
depending what I want...