Variable arrayActionsConst
arrayActions: {
concat: <T>(array: T[], ...items: ConcatArray<T>[]) => T[];
copyWithin: <T>(
array: T[],
target: number,
start: number,
end?: number,
) => T[];
create: <T>(data: T[]) => T[];
delete: <T>(array: T[], index: number) => boolean;
fill: <T>(array: T[], value: T, start?: number, end?: number) => T[];
pop: <T>(array: T[]) => undefined | T;
push: <T>(array: T[], ...items: T[]) => number;
reverse: <T>(array: T[]) => T[];
set: <T>(array: T[], index: number, value: any) => void;
setLength: <T>(array: T[], length: number) => void;
shift: <T>(array: T[]) => undefined | T;
slice: <T>(array: T[], start?: number, end?: number) => T[];
sort: <T>(array: T[], compareFn?: (a: T, b: T) => number) => T[];
splice:
| (<T>(array: T[], start: number, deleteCount?: number) => T[])
| (
<T>(
array: T[],
start: number,
deleteCount: number,
...items: T[],
) => T[]
);
swap: <T>(array: T[], index1: number, index2: number) => boolean;
unshift: <T>(array: T[], ...items: T[]) => number;
} = ...
Type declaration
concat: <T>(array: T[], ...items: ConcatArray<T>[]) => T[]
copyWithin: <T>(array: T[], target: number, start: number, end?: number) => T[]
create: <T>(data: T[]) => T[]
delete: <T>(array: T[], index: number) => boolean
fill: <T>(array: T[], value: T, start?: number, end?: number) => T[]
pop: <T>(array: T[]) => undefined | T
push: <T>(array: T[], ...items: T[]) => number
reverse: <T>(array: T[]) => T[]
set: <T>(array: T[], index: number, value: any) => void
setLength: <T>(array: T[], length: number) => void
shift: <T>(array: T[]) => undefined | T
slice: <T>(array: T[], start?: number, end?: number) => T[]
sort: <T>(array: T[], compareFn?: (a: T, b: T) => number) => T[]
splice:
| (<T>(array: T[], start: number, deleteCount?: number) => T[])
| (
<T>(
array: T[],
start: number,
deleteCount: number,
...items: T[],
) => T[]
)
swap: <T>(array: T[], index1: number, index2: number) => boolean
unshift: <T>(array: T[], ...items: T[]) => number