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

WIP #5407

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

WIP #5407

wants to merge 1 commit into from

Conversation

laa-odoo
Copy link
Collaborator

@laa-odoo laa-odoo commented Jan 6, 2025

Task: 3829128

@robodoo
Copy link
Collaborator

robodoo commented Jan 6, 2025

Pull request status dashboard

@laa-odoo laa-odoo force-pushed the master-formula-add-switch-function-laa branch from e0c1b12 to 5314a0c Compare January 6, 2025 09:23
functionDescription: FunctionDescription,
nbrArgSupplied: number
): (argPosition: number) => number | undefined {
if (nbrArgSupplied === functionDescription.minArgRequired) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wont work if we have something like [required, optional, required]

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed 👍

src/functions/arguments.ts Show resolved Hide resolved
@laa-odoo laa-odoo force-pushed the master-formula-add-switch-function-laa branch 2 times, most recently from eaada6a to 9688517 Compare January 6, 2025 16:15
@laa-odoo laa-odoo force-pushed the master-formula-add-switch-function-laa branch from 9688517 to c30f4be Compare January 7, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants