Join Slack
Powered by
<@U5TNEF7FW> I'd probably rework your `if` conditi...
# suitescript
s
stalbert
03/05/2018, 5:14 PM
@karlenigma
I'd probably rework your
if
conditions to a separate function something like
getCategory(<data needed to determine the right category>)
which would be a pure function that returns 13, 20 or 17 accordingly.
Open in Slack
Previous
Next