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

feat: add matchKeys function #27

Merged
merged 7 commits into from
Jun 26, 2024
Merged

feat: add matchKeys function #27

merged 7 commits into from
Jun 26, 2024

Conversation

aleclarson
Copy link
Member

@aleclarson aleclarson commented Jun 26, 2024

Tip

The owner of this PR can publish a preview release by commenting /publish in this PR. Afterwards, anyone can try it out by running pnpm add radashi@pr<PR_NUMBER>.

Description

The matchKeys function is meant to be used by other Radashi functions (or your own reusable functions). It allows your function to accept either an array of object keys or a filter callback.

Checklist

  • Changes are covered by tests if behavior has been changed or added
  • Tests have 100% coverage
  • If code changes were made, the documentation (in the /docs directory) has been updated

Resolves

This PR is blocking another PR that resolves sodiray/radash#157

@aleclarson aleclarson marked this pull request as ready for review June 26, 2024 03:35
@aleclarson aleclarson merged commit 069c986 into main Jun 26, 2024
4 checks passed
Copy link

A new beta version 12.2.0-beta.20ad927 has been published to NPM. 🚀

To install:

The radashi@beta tag also includes this PR.

See the changes

@aleclarson aleclarson added the yanked This PR was yanked before publishing label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
yanked This PR was yanked before publishing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request-Object] PickBy
1 participant