Method Evaluate
- Namespace
- RuleWright.Extensions.Functions
- Assembly
- RuleWright.Extensions.Functions.dll
Evaluate(object?, object?)
Evaluates the condition.
public bool Evaluate(object? fieldValue, object? value)
Parameters
fieldValueobjectThe resolved (boxed) field value when the leaf specifies a
field; otherwise the whole fact object.valueobjectThe leaf's constant
valueoperand, or null if absent.
Returns
- bool
Whether the condition passes.