.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetSoleBond

.. oe:function:: OEGetSoleBond

   .. oe:language:: c++ java csharp

      .. oe:api::

         OEBondBase* OEGetSoleBond(const OEAtomBase* atm)

   .. oe:language:: python

      .. oe:api:: python

         OEGetSoleBond(atm: OEAtomBase) -> OEBondBase

   Gets the first bond of the given atom. If there is more than one bond, the bond chosen is arbitrary. If there is no
   bond, null is returned.