-
Notifications
You must be signed in to change notification settings - Fork 68
[IMP] functions: added CHOOSE function #7399
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
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Pierre Rousseau <[email protected]> Task: 5231138
Task: 5231138
Task: 5231138
Task: 5231138
b2f48f5 to
695f2c4
Compare
VincentSchippefilt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job for a first PR
Could you add examples of the new function in the demo data: demo/data.js
Task: 5231138
aeadcab to
e3820f7
Compare
hokolomopo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a fast scroll in the PR, seems good :) I'll green it so Francois can test
| // CHOOSE | ||
| // ----------------------------------------------------------------------------- | ||
| export const CHOOSE = { | ||
| description: _t("An element from a list of choices based on index."), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably missing a word in the description. Chose an element ? Return an element ?
| A1: "A1", B1: "B1", | ||
| A2: "A2", B2: "B2", | ||
| D5: "=TAKE(A1:B2,3)", E5: "", | ||
| D6: "", E6: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: defining empty cells is kinda useless here

Co-authored-by: Pierre Rousseau [email protected]
Task: 5231138
Description:
description of this task, what is implemented and why it is implemented that way.
Task: TASK_ID
review checklist