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

x/froebel/mod.ts>isPromise

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

Checks if value looks like a promise.

type

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

type

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