Function essential_check::constraint_vm::eval

source ยท
pub fn eval<OA>(
    op_access: OA,
    access: Access<'_>,
) -> Result<bool, ConstraintError>
where OA: OpAccess<Op = Constraint>, <OA as OpAccess>::Error: Into<OpError>,
Expand description

Evaluate the operations of a single constraint and return its boolean result.

This is the same as exec, but retrieves the boolean result from the resulting stack.