# OETheFunctionFormerlyKnownAsStripSalts¶

bool OETheFunctionFormerlyKnownAsStripSalts(OEMolBase &mol)


This function, formerly known as OEChem::StripSalts, deletes all atoms that are not part of the largest connected component of a molecule. If two or more components of a molecule are the size of the largest component, this function keeps the first one encountered.