Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/tsafe/lab/index.ts>UnpackTypeGuard

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

Type Parameters

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