Skip to content

Add Filter type #1183

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Add Filter type #1183

wants to merge 10 commits into from

Conversation

benzaria
Copy link
Contributor

@benzaria benzaria commented Jun 10, 2025

Closes #1181
Filters elements from an Array/Object based on whether there members match the given Type.
If Type is Boolean, it filters out falsy values like Boolean(T) does.

Strict controls whether strict or loose type comparison is used (defaults to loose). I will add this as on option eventually!

@benzaria benzaria marked this pull request as draft June 10, 2025 21:24
@benzaria benzaria marked this pull request as ready for review June 20, 2025 16:33
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.

ArrayFilter & ObjectFilter types
1 participant