Search
@bemoje/arr-first-where
Return the first element of an array where the callback returns true.
v1.0.2 URL:
https://unpkg.com/@bemoje/arr-first-where@1.0.2/dist/arr-first-where.umd.js
Open
Browse Files
return
element
array
callback
returns
true
arr
iterate
callbackelement
index
boolean
satisfy
condition
predicate
current
itereated
arrfirstwhere
@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
@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-indexes-of
Find all indexes at which an array element exists, by binary search.
v1.0.1 URL:
https://unpkg.com/@bemoje/arr-sorted-indexes-of@1.0.1/dist/arr-sorted-indexes-of.umd.js
Open
Browse Files
find
indexes
array
element
exists
binary
search
[compare]
[comparenumeric=false]
sort
numerically
defaults
lexicographic/alphabetic
[comparedescending=false]
descending
order
ascending
[comparearray=false]
arrays
nested
compared
recursively
[compareby=undefined]
index
callbackelement
object
keys
dot-notation
support
integer
comparator
function
callback
definition
compare
negative
number
>
positive
<
value-getter
getter
arrsortedindexesof
@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