Programmer's Guide > Interfaces > Component interface > isSameComponent method
  
isSameComponent method
Returns whether this component is the same component as the given one.
This method provides a way to determine whether two Component references returned by the implementation reference the same object. When two Component references are references to the same object, even if through a proxy, the references may be used completely interchangeably, such that all attributes have the same values and calling the same AOM method on either reference always has exactly the same effect.
isSameComponent(other )
Parameters
Componentother
The component to test against.
Returns
boolean. Returns true if the components are the same, false otherwise.