Function std::bool::and

pub fn and(a: bool, b: bool) -> bool

Conjunction of two boolean values.

Examples

rusti> std::bool::and(true, false)
false
rusti> std::bool::and(true, true)
true