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

x/froebel/predicate.ts>isPromise

A strictly typed utility library.
Latest
variable isPromise
import { isPromise } from "https://deno.land/x/froebel@v0.23.2/predicate.ts";

Checks if value looks like a promise.

type

<T = any>(value: unknown) => value is Promise<T>