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

Function IsPyInteger

python/pyarrow/src/arrow/python/helpers.h:71–71  ·  view source on GitHub ↗

\brief Check whether obj is an integer, independent of Python versions.

Source from the content-addressed store, hash-verified

69
70// \brief Check whether obj is an integer, independent of Python versions.
71inline bool IsPyInteger(PyObject* obj) { return PyLong_Check(obj); }
72
73// \brief Import symbols from pandas that we need for various type-checking,
74// like pandas.NaT or pandas.NA

Callers 3

VisitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected