From 58549d8ae2c706a95adae32cea71606cc65bee71 Mon Sep 17 00:00:00 2001 From: Ruko <92655412+rukogit@users.noreply.github.com> Date: Sat, 1 Jul 2023 17:28:16 +0200 Subject: [PATCH] Update templateFunctions.ts Changed the returnValue for strlen from string to number --- backend/src/plugins/Tags/templateFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/Tags/templateFunctions.ts b/backend/src/plugins/Tags/templateFunctions.ts index 273ac1ae..7eb374ef 100644 --- a/backend/src/plugins/Tags/templateFunctions.ts +++ b/backend/src/plugins/Tags/templateFunctions.ts @@ -110,7 +110,7 @@ export const TemplateFunctions: TemplateFunction[] = [ { name: "strlen", description: "Returns the length of a string argument.", - returnValue: "string", + returnValue: "number", arguments: ["string"], examples: ['strlen("hello World")'], },