@almadar/evaluator 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -2
package/dist/index.js
CHANGED
|
@@ -2615,6 +2615,8 @@ var SExpressionEvaluator = class {
|
|
|
2615
2615
|
return evalStrTemplate(args, evaluate2, ctx);
|
|
2616
2616
|
case "str/truncate":
|
|
2617
2617
|
return evalStrTruncate(args, evaluate2, ctx);
|
|
2618
|
+
case "to-string":
|
|
2619
|
+
return String(evaluate2(args[0], ctx));
|
|
2618
2620
|
// ===============================
|
|
2619
2621
|
// Standard Library: array/*
|
|
2620
2622
|
// ===============================
|