Skip to content
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 built-in function if() #2239

Closed
st-pasha opened this issue Dec 23, 2022 · 0 comments · Fixed by #2259
Closed

Add built-in function if() #2239

st-pasha opened this issue Dec 23, 2022 · 0 comments · Fixed by #2259
Labels
enhancement fix available A PR fixing this bug is available and waiting for a review jenny Issues/PRs related to the Jenny package

Comments

@st-pasha
Copy link
Contributor

Proposal

Since Jenny doesn't support ternary-if operator ?:, it would be useful to have a built-in function that would do the same: if(condition, value_if_true, value_if_false).

@st-pasha st-pasha added enhancement jenny Issues/PRs related to the Jenny package labels Dec 23, 2022
@st-pasha st-pasha added the fix available A PR fixing this bug is available and waiting for a review label Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement fix available A PR fixing this bug is available and waiting for a review jenny Issues/PRs related to the Jenny package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant