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

Filter list with custom function #417

Merged
merged 2 commits into from
Apr 25, 2022
Merged

Filter list with custom function #417

merged 2 commits into from
Apr 25, 2022

Commits on Apr 25, 2022

  1. test(engine): verify list filter with function

    * verify that a list can be filtered with a built-in and custom function
    * verify that the custom function is invoked with the expected elements
    saig0 committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    675a6b5 View commit details
    Browse the repository at this point in the history
  2. fix(engine): filter list with function

    * a list can be filtered using a boolean function
    * currently, the function is invoked once to determine if it is a number (for index access) or a boolean value (or something else)
    * since the function is invoked without the list item, the invocation can fail if the "item" variable is passed in as a parameter
    saig0 committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    b3e76be View commit details
    Browse the repository at this point in the history