noneTrueQGives true, if no element in a vector of Booleans is true |
![]() |
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The function takes a vector of Booleans and will return true, if none of the elements in the input vector is true, and false otherwise.
Function.noneTrueQ(vec);
Function.noneTrueQ({false, false, false}); // true
Function.noneTrueQ({true, false, false}); // false
Function.noneTrueQ({false, false, true}); // false
x |
Type: Boolean[:] Description: Vector of booleans |
---|
y |
Type: Boolean Description: True, if no element of the input vector is true |
---|