File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -440,14 +440,6 @@ WOQL.trim = function(inputStr, resultVarName) {
440440 return new WOQLQuery ( ) . trim ( inputStr , resultVarName )
441441}
442442
443- /**
444- * Evaluates the passed arithmetic expression and generates or matches the result value
445- * @param {object| WOQLQuery | string } arithExp - query or JSON-LD representing the query
446- * @param {string } resultVarName - output variable
447- * @returns {WOQLQuery } WOQLQuery
448- */
449- WOQL . eval = WOQL . evaluate
450-
451443/**
452444 *
453445 * Evaluates the passed arithmetic expression and generates or matches the result value
@@ -461,6 +453,15 @@ WOQL.evaluate = function(arithExp, resultVarName) {
461453 return new WOQLQuery ( ) . eval ( arithExp , resultVarName )
462454}
463455
456+ /**
457+ * Evaluates the passed arithmetic expression and generates or matches the result value
458+ * @param {object| WOQLQuery | string } arithExp - query or JSON-LD representing the query
459+ * @param {string } resultVarName - output variable
460+ * @returns {WOQLQuery } WOQLQuery
461+ */
462+
463+ WOQL . eval = WOQL . evaluate
464+
464465/**
465466 *
466467 * Adds the numbers together
You can’t perform that action at this time.
0 commit comments