-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Combine filters #71
Comments
@peteruithoven you're right, this is not currently possible. However, on the latest release |
It's mostly for when you want to combine filters for exclusion and different throttling techniques for example. I'll try to work on a pull request. |
Hello there. @peteruithoven are you up to something about this ? I'd be glad to help if you are too busy. |
I'm afraid I haven't come around to it yet, I got stuck at figuring out how the unit tests worked. But through Gitter I did see your gist and omnidan's fork, nice work! |
Adding combineFilters(), docs and tests for #71
Resolved in beta7 |
Is there an easy way to combine multiple filter functions together?
I noticed I was writing one function which performed 3 filters and I couldn't easily combine the existing helper filter functions. What if we create a combine function, something like below, that checks all filters:
This, for edge cases, also allows usage inside a custom undoFilter:
The text was updated successfully, but these errors were encountered: