UNPKG
@legendapp/tools
Version:
latest (2.0.1)
2.0.1
2.0.0
2.0.0-alpha.14
2.0.0-alpha.13
2.0.0-alpha.12
2.0.0-alpha.11
2.0.0-alpha.10
2.0.0-alpha.9
2.0.0-alpha.8
2.0.0-alpha.7
2.0.0-alpha.6
2.0.0-alpha.5
2.0.0-alpha.4
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.0
@legendapp/tools
www.legendapp.com/dev/tools
LegendApp/legend-tools
@legendapp/tools
/
src
/
arrayFunctions.d.ts
4 lines
(3 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
export
declare
function
arrayRemove<T>(
array
: T[],
value
: T):
number
;
export
declare
function
arrayRemoveAt<T>(
array
: T[],
index
:
number
): T;
export
declare
function
arrayInsertSorted<T>(
array
: T[],
ele
: T,
comp
:
(
a
: T,
b
: T
) =>
number
):
number
;