You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_docs/support/faq-kcl.md
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2512,3 +2512,17 @@ worldString: world
2512
2512
s: Hello world
2513
2513
raw_s: Hello ${worldString}
2514
2514
```
2515
+
2516
+
## 59. How does KCL infer return types in lambdas?
2517
+
2518
+
For lambda(s),KCL automatically infers the return value type in the function body, although we can explicitly specify it. An example KCL code over here is:
0 commit comments