getOwnerForObject

getOwnerForObject(object: Object): Object;

The getOwnerForObject method of the Object class returns a reference to the object that is the owner (parent) of the collection specified by the object parameter.

This method returns null if the object parameter is not an exclusive collection.