Replies: 7 comments 5 replies
-
As far as I know, Expr only has the ternary statement:
It's in the Operators. |
Beta Was this translation helpful? Give feedback.
-
Yeap. But I do want to implement if statements as well. |
Beta Was this translation helpful? Give feedback.
-
If it could support control flow and custom functions, that would be great. |
Beta Was this translation helpful? Give feedback.
-
maybe we can implement a simple "pattern matching" first?
or
something like aboves is really help |
Beta Was this translation helpful? Give feedback.
-
BTW: currently I use |
Beta Was this translation helpful? Give feedback.
-
Would greatly benefit control flow as well. Either switch case or if/else are good options for my use-cases. I can work around with ternary however, just less practical. |
Beta Was this translation helpful? Give feedback.
-
@antonmedv Any plans on having if-else in near future? It's easier for business folks as well to use |
Beta Was this translation helpful? Give feedback.
-
Hey, good day am trying to integrate this into a project as a middleware for the project, I predicted the script is gonna get a little complex, is there a way to have if statements or if-else, I can’t find any documentation or issues about this.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions