Search
@bemoje/arr-sorted-index-of
Binary search -based indexOf for sorted arrays.
v1.0.2 URL:
https://unpkg.com/@bemoje/arr-sorted-index-of@1.0.2/dist/arr-sorted-index-of.umd.js
Open
Browse Files
binary
search
-based
indexof
sorted
arrays
arr
array
element
find
[compare]
[comparenumeric=false]
sort
numerically
defaults
lexicographic/alphabetic
[comparedescending=false]
descending
order
ascending
[comparearray=false]
nested
compared
recursively
[compareby=undefined]
index
callbackelement
object
keys
dot-notation
support
returns
-1
found
elements
position
comparator
function
callback
definition
compare
negative
number
>
positive
<
type
getter
arrsortedindexof
@bemoje/arr-sorted-add
For a sorted array, add an element. Whichever comparator function was used to sort the array, can be passed. Also supports comparator-builder options. For reference, see: https://github.com/bemoje/bemoje-arr-sort-comparator
v1.0.4 URL:
https://unpkg.com/@bemoje/arr-sorted-add@1.0.4/dist/arr-sorted-add.umd.js
Open
Browse Files
sorted
array
add
element
whichever
comparator
function
sort
passed
supports
comparator-builder
options
reference
https://github.com/bemoje/bemoje-arr-sort-comparator
arr
find
insertion
index
[compare]
[comparenumeric=false]
numerically
defaults
lexicographic/alphabetic
[comparedescending=false]
descending
order
ascending
[comparearray=false]
arrays
nested
compared
recursively
[compareby=undefined]
callbackelement
object
keys
dot-notation
support
[duplicates=true]
duplicate
exists
callback
type
definition
getter
arrsortedadd
@bemoje/arr-sort-comparator
Create array comparator function.
v1.0.5 URL:
https://unpkg.com/@bemoje/arr-sort-comparator@1.0.5/dist/arr-sort-comparator.umd.js
Open
Browse Files
create
array
comparator
function
[options]
[optionsnumeric=false]
sort
numerically
defaults
lexicographic/alphabetic
[optionsdescending=false]
descending
order
ascending
[optionsarray=false]
arrays
nested
compared
recursively
[optionsby=undefined]
index
callbackelement
object
keys
dot-notation
support
compare
negative
number
>
positive
btostring
tostring
<
arrsortcomparator
@bemoje/arr-sorted-insertion-index
Find the array index of where to add an element to keep it sorted.
v3.0.2 URL:
https://unpkg.com/@bemoje/arr-sorted-insertion-index@3.0.2/dist/arr-sorted-insertion-index.umd.js
Open
Browse Files
find
array
index
add
element
sorted
arr
insertion
[compare]
[comparenumeric=false]
sort
numerically
defaults
lexicographic/alphabetic
[comparedescending=false]
descending
order
ascending
[comparearray=false]
arrays
nested
compared
recursively
[compareby=undefined]
callbackelement
object
keys
dot-notation
support
callback
type
definition
getter
arrsortedinsertionindex
@bemoje/arr-sorted-has
Binary search -based indexOf for sorted arrays.
v1.0.2 URL:
https://unpkg.com/@bemoje/arr-sorted-has@1.0.2/dist/arr-sorted-has.umd.js
Open
Browse Files
binary
search
-based
indexof
sorted
arrays
arr
array
element
find
[compare]
[comparenumeric=false]
sort
numerically
defaults
lexicographic/alphabetic
[comparedescending=false]
descending
order
ascending
[comparearray=false]
nested
compared
recursively
[compareby=undefined]
index
callbackelement
object
keys
dot-notation
support
comparator
compare
negative
number
>
positive
<
getter
arrsortedhas