Searched defs:isinstance (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Dpytypes.h368 bool isinstance(handle obj) { return T::check_(obj); } function
371 bool isinstance(handle obj) { return detail::isinstance_generic(obj, typeid(T)); } function
374 template <> inline bool isinstance<object>(handle obj) { return obj.ptr() != nullptr; } function
378 inline bool isinstance(handle obj, handle type) { function

Completed in 12 milliseconds