Obvious answer is logging or debugger - anything e...
# suitescript
c
Obvious answer is logging or debugger - anything else?
m
Debugger is not available atm for SS2.1
c
I guess those structures look exactly the same in SS2 so same question applies there really.
b
ss2.1 is supposed to behave exactly like 2.0
dont expect anything new from the api
c
I think I confused my question with the addition of the SS version number.
I'm looking for a generic method of inspecting data structures returned by SS function calls. I assume only the debugger or log.debug can do that?
I don't see the documentation containing this info.
b
i mean you can be weird and write it to a record or json
but ResultSets dont have anything useful on their json representation
c
I wanted to look at what asMappedResults() returned without having to run the code. Was hoping the struct was documented rather than me assuming, Silly me.
The docs allude to it being 'an array of mapped results'. I can visualise that in my head but who really knows what NS have done. I'll just log it out and stop trying to be lazy.
s
they basically implemented the equivalent of NFT's
nsSearchResult2Obj()
method