UNPKG

rambda

Version:

Lightweight faster alternative to Ramda

17 lines (15 loc) 421 B
import {Number} from '../Number/Number' import {KeySet} from './KeySet' import {Omit} from './Omit' import {Tuple} from './Tuple' /** Remove out of **`T`** a range of entries * @param T to remove from * @param From to start with * @param To to end with * @returns **`any[]`** * @example * ```ts * ``` */ export type Remove<T extends Tuple, From extends Number, To extends Number> = Omit<T, KeySet<From, To>>