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

x/froebel/predicate.ts>isPromise

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

Checks if value looks like a promise.

type

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