22#ifndef Rcpp__sugar__any_h
23#define Rcpp__sugar__any_h
28template <
bool NA,
typename T>
41 if( current ==
TRUE ) {
68 if(
object[i] ==
TRUE ) {
80template <
bool NA,
typename T>
Rcpp::VectorBase< LGLSXP, false, T > VEC_TYPE
SingleLogicalResult< false, Any< false, T > > PARENT
Rcpp::VectorBase< LGLSXP, NA, T > VEC_TYPE
SingleLogicalResult< true, Any< NA, T > > PARENT
bool is_na< LGLSXP >(int x)
bool any(InputIterator first, InputIterator last, const T &value)