Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tsafe/lab/UnpackTypeGuard.ts>UnpackTypeGuard

🔩 The missing TypeScript utils
Go to Latest
type alias UnpackTypeGuard
import { type UnpackTypeGuard } from "https://deno.land/x/tsafe@v1.0.1/lab/UnpackTypeGuard.ts";

Type Parameters

T extends (o: any) => o is unknown
definition: T extends (o: any) => o is infer U ? U : never