UNPKG

259 BTypeScriptView Raw
1import { Length } from './Length';
2import { List } from './List';
3/**
4 * Get the first entry of `L`
5 * @param L to extract from
6 * @returns [[Any]]
7 * @example
8 * ```ts
9 * ```
10 */
11export declare type Head<L extends List> = Length<L> extends 0 ? never : L[0];