Function assert

Source
pub fn assert(comparison: bool) -> Result<bool, Box<EvalAltResult>>
Expand description

Assert that a statement is true and throw an error if it is not.

assert(2==2);