pub fn exhaustive_bools() -> ExhaustiveBools
Generates both bools.
bool
The output length is 2.
Constant time and additional memory.
use itertools::Itertools; use malachite_base::bools::exhaustive::exhaustive_bools; assert_eq!(exhaustive_bools().collect_vec(), &[false, true]);