1.0.2 • Published 5 years ago

surveyjs-expression-eval v1.0.2

Weekly downloads
917
License
MIT
Repository
github
Last release
5 years ago

SurveyJS Expression Eval

This module allows you to evaluate expressions using the SurveyJS language.

import evaluateExpression from "surveyjs-expression-eval"

evaluateExpression("{myvar} > {myothervar}", {
  myvar: 2,
  myothervar: 1
})
// true

See format.md for more examples and a list of operators.