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

Function is_atomic

inst/include/Rcpp/api/meat/is.h:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 namespace internal {
27
28 inline bool is_atomic(SEXP x) { return Rf_length(x) == 1; }
29 inline bool is_matrix(SEXP x) {
30 SEXP dim = Rf_getAttrib( x, R_DimSymbol);
31 return dim != R_NilValue && Rf_length(dim) == 2;

Callers 8

is__simple<int>Function · 0.85
is__simple<double>Function · 0.85
is__simple<bool>Function · 0.85
string>Method · 0.85
is__simple<String>Function · 0.85
is__simple<Rcomplex>Function · 0.85
is__simple<Date>Function · 0.85
is__simple<Datetime>Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected