Skip to content

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 ?

Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
@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
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.

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

---------

Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com>
Reviewed-by: Aditya Sapra <110766802+adityacodes30@users.noreply.github.com>
Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
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