Home > types > Head
Functional programming essentials
Signature:
export declare type Head<T extends AnyArray> = T["length"] extends 0 ? never : T[0];
References: AnyArray