Skip to content

Commit 99fd1e4

Browse files
committed
Remove unncessary type conversion
1 parent f439272 commit 99fd1e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

expressions/src/funcs/case.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const caseFunc: FunctionDefinition = {
1818
}
1919

2020
// If predicate is true, return the corresponding result
21-
if ((predicate as BooleanData).value) {
21+
if (predicate.value) {
2222
return args[i + 1];
2323
}
2424
}

0 commit comments

Comments
 (0)