3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-06 10:37:19 +00:00

Update templateFunctions.ts

Changed the returnValue for strlen from string to number
This commit is contained in:
Ruko 2023-07-01 17:28:16 +02:00 committed by GitHub
parent c2b2434c28
commit 58549d8ae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")'],
},