When there's no result for shipmethod the `typeof ...
# suitescript
k
When there's no result for shipmethod the
typeof soFields['shipmethod']
returns
object
but the value of
soFields['shipmethod']
returns
[]
. I tried
soFields['shipmethod'].length != 0
but it says that
soFields['shipmethod']
has no property of
length