Regular API function

simDestroyCollection / sim.destroyCollection

Description Removes a collection. See also the other functions related to collections.
C synopsis simInt simDestroyCollection(simInt collectionHandle)
C parameters
collectionHandle: handle of the collection to remove
C return value
-1 if operation was not successful
Lua synopsis sim.destroyCollection(int collectionHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values