(info) Other great resources: Official JS API docs, Scripting Forum

enumCargo()

enumCargo(transport)

Returns an array of droid objects in the cargo hold of a transporter.

3.2+