.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEIsFPType

.. oe:function:: OEIsFPType

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

      .. oe:api::

         bool OEIsFPType(const OEFingerPrint& fp, unsigned int fptype)

   .. oe:language:: python

      .. oe:api:: python

         OEIsFPType(fp: OEFingerPrint, fptype: int) -> bool

   Returns true if the given :ref:`OEFingerPrint <OEGraphSim_OEFingerPrint>`
   object's fingerprint type is identical to ``fptype``.
   ``fptype`` has to be a value from the
   :oe:constns:`OEGraphSim::OEFPType` namespace.

   .. seealso::

      * :oe:func:`OEGraphSim::OEIsSameFPType` function

