UNPKG
@basex-fi/sdk-core
Version:
latest (1.1.5)
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.3
1.0.2
1.0.1
An SDK for building applications on top of BaseX
github.com/basex-fi/sdk-core
basex-fi/sdk-core
@basex-fi/sdk-core
/
dist
/
utils
/
isSorted.d.ts
8 lines
(7 loc)
•
244 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * Determines if a tick list is sorted *
@param
list The tick list *
@param
comparator The comparator *
@returns
true if sorted */
export
declare
function
isSorted<T>(
list
:
Array
<T>,
comparator
:
(
a
: T,
b
: T
) =>
number
):
boolean
;