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

◆ all() [1/4]

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

Return true if all values in the input are true.

Overload for a single integral input

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

Definition at line 21 of file all.hpp.