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

Function is__module__object

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

Source from the content-addressed store, hash-verified

158 return xp->has_typeinfo_name(clazz);
159 }
160 template <typename T> bool is__module__object(SEXP x) {
161 if (!is__simple<S4>(x)) return false;
162 typedef typename Rcpp::traits::un_pointer<T>::type CLASS;
163 return is_module_object_internal(x, typeid(CLASS).name());
164 }
165
166#endif
167

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected