UNPKG

sitecore-jss-rule-engine

Version:

Rule engine for Sitecore JSS

5 lines (4 loc) 218 B
import { RuleEngineContext } from "../types/ruleEngine"; export default async function(operatorContext:any, _ruleContext: RuleEngineContext) { return operatorContext.parameter1 <= operatorContext.parameter2; }