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

Method has_fields

dlib/external/pybind11/include/pybind11/numpy.h:701–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699 /// Returns true for structured data types.
700#ifdef PYBIND11_NUMPY_1_ONLY
701 bool has_fields() const { return detail::array_descriptor_proxy(m_ptr)->names != nullptr; }
702#else
703 bool has_fields() const {
704 if (detail::npy_api::get().PyArray_RUNTIME_VERSION_ < 0x12) {

Callers

nothing calls this directly

Calls 3

array_descriptor_proxyFunction · 0.85
array_descriptor1_proxyFunction · 0.85
array_descriptor2_proxyFunction · 0.85

Tested by

no test coverage detected