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

Function is_arrow_altrep

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

Source from the content-addressed store, hash-verified

1071}
1072
1073bool is_arrow_altrep(SEXP x) {
1074 if (ALTREP(x)) {
1075 SEXP pkg = R_altrep_class_package(x);
1076 if (pkg == symbols::arrow) return true;
1077 }
1078
1079 return false;
1080}
1081
1082bool is_unmaterialized_arrow_altrep(SEXP x) {
1083 return is_arrow_altrep(x) && R_altrep_data1(x) != R_NilValue;

Calls 1

R_altrep_class_packageFunction · 0.85