Difference between object Result and list

Hi!

I'm using the system.tag.browse("path", {}) and the documentation says that returns an object called "Results".

However, in some examples I saw they used Results.getResults(). This method returns a list instead of a wrapper.

What could be the difference between doing this or this?
l1 = system.tag.browse("path")
l2 = system.tag.browse("path").getResults()

At a scripting level works the same (?).

Thanks!

The outer wrapper has additional properties. Use dir() to inspect it.

2 Likes