MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / string>

Method string>

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

Source from the content-addressed store, hash-verified

40 return is_atomic(x) && TYPEOF(x) == LGLSXP;
41 }
42 template <> inline bool is__simple<std::string>(SEXP x) {
43 return is_atomic(x) && TYPEOF(x) == STRSXP;
44 }
45 template <> inline bool is__simple<String>(SEXP x) {
46 return is_atomic(x) && TYPEOF(x) == STRSXP;
47 }

Callers

nothing calls this directly

Calls 1

is_atomicFunction · 0.85

Tested by

no test coverage detected