MCPcopy Create free account
hub / github.com/davisking/dlib / isinstance

Function isinstance

dlib/external/pybind11/include/pybind11/pytypes.h:857–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855\endrst */
856template <typename T, detail::enable_if_t<std::is_base_of<object, T>::value, int> = 0>
857bool isinstance(handle obj) {
858 return T::check_(obj);
859}
860
861template <typename T, detail::enable_if_t<!std::is_base_of<object, T>::value, int> = 0>
862bool isinstance(handle obj) {

Callers 7

get_globalFunction · 0.85
loadMethod · 0.85
loadMethod · 0.85
isinstance_genericFunction · 0.85

Calls 2

check_Function · 0.85
isinstance_genericFunction · 0.85

Tested by

no test coverage detected