Skip to main content
Module

x/hkts/hkt.ts>TypeOf

Functional programming tools: option, either, task, state, optics, etc.
Latest
type alias TypeOf
import { type TypeOf } from "https://deno.land/x/hkts@v0.0.52/hkt.ts";

Extraction Types

Extract the type at a specific index of a Kind type


Type Parameters

T
optional
N extends number = 0
definition: T extends Kind<any, infer _> ? _[N] : never