safe-evaluate-expression
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "safe-evaluate-expression", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Small library to dynamically create and evaluate expression with multiple parameters (even undefined)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,3 +40,3 @@ # safe-evaluate-expression | ||
// It works also with infinite nested conditions | ||
evaluate("(isUndefined(notDefined) || (isGreater(c, a) && isLower(b, c)) && isEqual(a,1)", params); // -> true | ||
evaluate("(isUndefined(notDefined) || (isGreater(c, a) && isLower(b, c))) && isEqual(a,1)", params); // -> true | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14473