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

Method IsMaterialized

r/src/altrep.cpp:108–108  ·  view source on GitHub ↗

Is the vector materialized, i.e. does the data2 slot contain a standard R vector with the same data as the array.

Source from the content-addressed store, hash-verified

106 // Is the vector materialized, i.e. does the data2 slot contain a
107 // standard R vector with the same data as the array.
108 static bool IsMaterialized(SEXP alt) { return !Rf_isNull(Impl::Representation(alt)); }
109
110 static R_xlen_t Length(SEXP alt) {
111 if (IsMaterialized(alt)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected