MCPcopy Create free account
hub / github.com/pybind/pybind11 / check

Function check

include/pybind11/pytypes.h:320–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318 bool operator!=(const handle &h) const { return m_ptr != h.m_ptr; }
319 PYBIND11_DEPRECATED("Use handle::operator bool() instead")
320 bool check() const { return m_ptr != nullptr; }
321
322protected:
323 PyObject *m_ptr = nullptr;

Callers 2

common.hFile · 0.50
is_template_base_ofClass · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected