/** * 从数组中移除指定位置的元素 * @param arr 数组 * @param index 要删除元素在数组中的位置,须为不小于`0`的整数值 * @example remove_by_index(arr,index); */ export default function remove_by_index(arr: T[], index: number): T[];