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

Method PyArray_Check_

include/pybind11/numpy.h:284–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282 }
283
284 bool PyArray_Check_(PyObject *obj) const {
285 return PyObject_TypeCheck(obj, PyArray_Type_) != 0;
286 }
287 bool PyArrayDescr_Check_(PyObject *obj) const {
288 return PyObject_TypeCheck(obj, PyArrayDescr_Type_) != 0;
289 }

Callers 1

check_Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected