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

x/tsafe/isPromiseLike.ts>isPromiseLike

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

Type Parameters

optional
T = void

Returns

o is PromiseLike<T>