rambda
Version:
Lightweight faster alternative to Ramda
13 lines (11 loc) • 317 B
text/typescript
import {At as OAt} from '../Object/At'
import {Index} from '../Any/Index'
import {Tuple} from './Tuple'
/** Get in **`T`** the type of an entry of key **`K`**
* @param T to extract from
* @param K to extract at
* @returns **`any`**
* @example
*/
export type At<T extends Tuple, K extends Index> =
OAt<T, K>