-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter list with custom function (#417)
* 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 * 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
- Loading branch information
Showing
2 changed files
with
45 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters