JMap.Form.processRule
Processes a JSON Logic rule and returns the result, or undefined if rules are not correct.
https://github.com/jwadhams/json-logic-js#readme
the json logic rule
the data
// returns "banana"JMap.Form.processRule({"var" : 1 }, [ "apple", "banana", "carrot" ]) Copy
// returns "banana"JMap.Form.processRule({"var" : 1 }, [ "apple", "banana", "carrot" ])
JMap.Form.processRule
Processes a JSON Logic rule and returns the result, or undefined if rules are not correct.
https://github.com/jwadhams/json-logic-js#readme