Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 351 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 351 Bytes

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.