-
-
Notifications
You must be signed in to change notification settings - Fork 814
feat: add sort
method to array/bool
#2363
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
Conversation
lib/node_modules/@stdlib/array/bool/benchmark/benchmark.sort.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/bool/benchmark/benchmark.sort.length.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, @Jaysukh-409. Main comment is that the example comparison function should be updated, as a three-way comparison does not make sense for booleans.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @Jaysukh-409!
PR-URL: stdlib-js#2363 Ref: stdlib-js#2304 Reviewed-by: Athan Reines <kgryte@gmail.com>
Resolves: Subtask of #2304
Description
This pull request:
sort
method to prototype ofBooleanArray
Related Issues
This pull request:
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers