# OESameResidue¶

bool OESameResidue(const OEResidue &res1, const OEResidue &res2)


Determines whether two OEResidue s represent the same residue. This returns true when both residues are in the same chain (see OESameChain, have the same residue number, OEResidue::GetResidueNumber, the same sequence insertion code, OEResidue::GetInsertCode, and the same name, OEResidue::GetName.