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) {
440
440
return new WOQLQuery ( ) . trim ( inputStr , resultVarName )
441
441
}
442
442
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
-
451
443
/**
452
444
*
453
445
* Evaluates the passed arithmetic expression and generates or matches the result value
@@ -461,6 +453,15 @@ WOQL.evaluate = function(arithExp, resultVarName) {
461
453
return new WOQLQuery ( ) . eval ( arithExp , resultVarName )
462
454
}
463
455
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
+
464
465
/**
465
466
*
466
467
* Adds the numbers together
You can’t perform that action at this time.
0 commit comments