MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / hasAttribute

Function hasAttribute

inst/tinytest/cpp/RObject.cpp:138–141  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

136
137// [[Rcpp::export]]
138bool hasAttribute( DataFrame x){
139 bool has_class = x.hasAttribute( "class" ) ;
140 return has_class ;
141}
142
143// [[Rcpp::export]]
144SEXP attr_( DataFrame x){

Callers

nothing calls this directly

Calls 1

hasAttributeMethod · 0.80

Tested by

no test coverage detected