Method Evaluate
- Namespace
- RuleWright.Core
- Assembly
- RuleWright.Core.dll
Evaluate(object?, object?)
Evaluates the condition.
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.