Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(constraint: &OdrlConstraint, ctx: &ConstraintContext) -> bool
Expand description

Evaluate a single ODRL constraint against a context.

Returns true if the constraint is satisfied, false otherwise.