Function yasmin::callback_signal_pyutils::is_python_callback_signal_like
Defined in File callback_signal_pyutils.hpp
Function Documentation
-
inline bool yasmin::callback_signal_pyutils::is_python_callback_signal_like(const py::handle &value)
Check whether a Python object is an instance of yasmin.CallbackSignal.
The check uses the exported Python class instead of relying on a holder-type based pybind11 isinstance check. This keeps the detection stable across the Python/C++ module boundary where the underlying object is bound with std::shared_ptr ownership.
- Parameters:
value – Python object to inspect.
- Returns:
True if the object is a CallbackSignal instance.