MCPcopy Create free account
hub / github.com/apache/arrow / IsPyInt

Function IsPyInt

python/pyarrow/src/arrow/python/inference.cc:815–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813bool IsPyBool(PyObject* obj) { return internal::PyBoolScalar_Check(obj); }
814
815ARROW_PYTHON_EXPORT
816bool IsPyInt(PyObject* obj) { return internal::PyIntScalar_Check(obj); }
817
818ARROW_PYTHON_EXPORT
819bool IsPyFloat(PyObject* obj) { return internal::PyFloatScalar_Check(obj); }

Callers

nothing calls this directly

Calls 1

PyIntScalar_CheckFunction · 0.85

Tested by

no test coverage detected