-
-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Conditionals and Comparisons 'if-then-else' #95
Comments
Has it been implemented? |
No:
@mikefarah I think you closed this by accident. |
really odd that we don't have conditionals, i see all related issues are closed without any comments @mikefarah can you please comment on these? is it going to be implemented, if not can we get any rationale? |
Oops - sorry I closed a bunch of issues back then that didn't seem to have anyone interested in them (then didn't see the comments). Re opening. |
There is a work around detailed here in the docs: https://mikefarah.gitbook.io/yq/usage/tips-and-tricks#logic-without-if-elif-else |
How can I use it as an expression in a .map? |
It sure would be nice to have more than one demo. Maybe something more complex perhaps. |
Add support for Conditionals and Comparisons 'if-then-else'
The text was updated successfully, but these errors were encountered: