Skip to content

TypeAlias.First

github-actions[bot] edited this page May 17, 2026 · 34 revisions

umt / First

Type Alias: First<T>

First<T> = T extends [infer F, ...unknown[]] ? F : never

Defined in: types/logic/first.ts:2

Type Parameters

T

T extends unknown[]

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally