Function ergotree_interpreter::eval::extract_sigma_boolean
source · pub fn extract_sigma_boolean(expr: &Expr) -> Result<SigmaBoolean, EvalError>
Expand description
Expects SigmaProp constant value and returns it’s value. Otherwise, returns an error.