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

x/tsafe/mod.ts>isPromiseLike

🔩 The missing TypeScript utils
Go to Latest
function isPromiseLike
import { isPromiseLike } from "https://deno.land/x/tsafe@v1.6.1/mod.ts";

Type Parameters

optional
T = void

Returns

o is PromiseLike<T>