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 utils/every-own-by #1413

Merged
merged 6 commits into from
Mar 3, 2024
Merged

Conversation

PraneGIT
Copy link
Contributor

Resolves #818.

Description

adds Package: @stdlib/utils/every-own-by

This pull request:

  • adds a utility to test whether every "own" property of a provided object satisfies a predicate function.

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

Copy link
Contributor

@adityacodes30 adityacodes30 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've looked over the code and added some general styling suggestions, consider looking into them

@Planeshifter Planeshifter changed the title feat: add @stdlib/utils/every-own-by feat: add utils/every-own-by Mar 3, 2024
@PraneGIT
Copy link
Contributor Author

PraneGIT commented Mar 3, 2024

@Planeshifter I have done the changes and also fixed benchmark.jl file can you review this PR ?

lib/node_modules/@stdlib/utils/every-own-by/README.md Outdated Show resolved Hide resolved
lib/node_modules/@stdlib/utils/every-own-by/README.md Outdated Show resolved Hide resolved
lib/node_modules/@stdlib/utils/every-own-by/README.md Outdated Show resolved Hide resolved
lib/node_modules/@stdlib/utils/every-own-by/README.md Outdated Show resolved Hide resolved
lib/node_modules/@stdlib/utils/every-own-by/README.md Outdated Show resolved Hide resolved
lib/node_modules/@stdlib/utils/every-own-by/lib/main.js Outdated Show resolved Hide resolved
lib/node_modules/@stdlib/utils/every-own-by/package.json Outdated Show resolved Hide resolved
Signed-off-by: Philipp Burckhardt <[email protected]>
@Planeshifter
Copy link
Member

@PraneGIT Thanks! Looked good overall, but there were a bunch of small documentation fixes that had to be made. Will merge once CI has passed.

@Planeshifter Planeshifter merged commit 52e479b into stdlib-js:develop Mar 3, 2024
7 checks passed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Planeshifter Why was a Julia benchmark added to this package? Julia has no equivalent functionality. This was copied from utils/every, but is not appropriate here.

utkrs01 pushed a commit to utkrs01/stdlib that referenced this pull request Mar 7, 2024
PR-URL: stdlib-js#1413
Closes: stdlib-js#818

---------

Signed-off-by: Philipp Burckhardt <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Aditya Sapra <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
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.

[RFC]: Add @stdlib/utils/every-own-by
4 participants