Function reduce_and
pub extern fn reduce_and<#uint N>(x: [bool; N]) -> boolExpand
Reduces an array of bool into a single value by performing an AND operation on them.
This operation is equivalent to the Verilog AND reduction operator &.
Examples
assert [true, true, true].reduce_and() == true;
assert [false, false, false].reduce_and() == false;
assert [false, true, true].reduce_and() == false;