Function assert_eq

Source
pub fn assert_eq(lhs: Dynamic, rhs: Dynamic) -> Result<bool, Box<EvalAltResult>>
Expand description

Assert that two arguments are equal and throw an error if they are not.

assert_eq(2, 2);