at first glance it looks like you may just need so...
# suitescript
s
at first glance it looks like you may just need something like
s.filters = _(s.filters).filter(somepredicate).map(transformation)
. You may be able to do the same thing with
filterExpression
since it's just an array as well?