Instead of bisectBy, replace bisector.
For backwards-compatibility, bisector checks the arity of the specified function, and if the function only takes a single argument, it is wrapped with a suitable comparator.
Showing
This diff is collapsed.
Please register or sign in to comment