From 228acc3cd9e2c5ecff21abbae52d512ce27d567f Mon Sep 17 00:00:00 2001 From: Allan Guigou <34221163+AllanGuigou@users.noreply.github.com> Date: Tue, 13 Jan 2026 09:53:34 -0500 Subject: [PATCH] Update case.ts --- expressions/src/funcs/case.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expressions/src/funcs/case.ts b/expressions/src/funcs/case.ts index 4ec5fe1..eb96595 100644 --- a/expressions/src/funcs/case.ts +++ b/expressions/src/funcs/case.ts @@ -4,7 +4,7 @@ import {FunctionDefinition} from "./info.js"; export const caseFunc: FunctionDefinition = { name: "case", description: - "`case( pred1, val1, pred2, val2, ..., default )`\n\nEvaluates predicates in order and returns the value corresponding to the first predicate that evaluates to `true`. If no predicate matches, returns the default value (the last argument).", + "`case( pred1, val1, pred2, val2, ..., default )`\n\nEvaluates predicates in order and returns the value corresponding to the first predicate that evaluates to `true`. If no predicate matches, it returns the last argument as the default value.", minArgs: 3, maxArgs: Number.MAX_SAFE_INTEGER, call: (...args: ExpressionData[]): ExpressionData => {