to check that something is an array you need to do...
# suitescript
j
to check that something is an array you need to do
Array.isArray(membersIds)