GetSiblings Method
The GetSiblings method returns all siblings. In this context, a sibling is a component that reside at same the level in the component tree structure as the component that it calls. It returns these values in an array. If no other components reside at the same level, then it returns nothing. The GetSiblings method uses the following syntax:
GetSiblings()
It includes no arguments.
For example:
var siblingObjs = cmpObj.GetSiblings();
where:
cmpObj
references a component object.