MCPcopy Create free account
hub / github.com/activeloopai/deeplake / is_array

Method is_array

cpp/nd/type.hpp:143–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 inline bool is_array() const noexcept
144 {
145 return !shape_.empty();
146 }
147
148 /**
149 * @brief Get the shape of the type, if it has one. Otherwise, return nullopt.

Callers 4

is_numeric_indexMethod · 0.45
nd_to_pg_typeFunction · 0.45
holder_tMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected