UNPKG

@n3okill/utils

Version:
8 lines (7 loc) 250 B
/** * Delete the item at the given array index * @param arr Array where index will be removed * @param index The index to remove * @returns Array with index removed */ export declare function delIndex<T>(arr: Array<T>, index: number): Array<T>;