Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ any() [1/4]

template<typename T , require_t< std::is_convertible< T, bool > > * = nullptr>
constexpr bool stan::math::any ( x)
inlineconstexpr

Return true if any values in the input are true.

Overload for a single boolean input

Template Parameters
TAny type convertible to bool
Parameters
xboolean input
Returns
The input unchanged

Definition at line 21 of file any.hpp.