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

Function is_true

inst/include/Rcpp/sugar/logical/is.h:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27 template <bool NA, typename T>
28 inline bool is_true( const Rcpp::sugar::SingleLogicalResult<NA,T>& x){
29 return const_cast< Rcpp::sugar::SingleLogicalResult<NA,T>& >(x).is_true() ;
30 }
31
32 template <bool NA, typename T>
33 inline bool is_false( const Rcpp::sugar::SingleLogicalResult<NA,T>& x){

Callers 3

has_na_dvFunction · 0.85
has_na_dtvFunction · 0.85
SingleLogicalResultClass · 0.85

Calls 1

is_trueMethod · 0.80

Tested by

no test coverage detected