Module

std/node/sys.ts>types.isPromise

Deno standard library
Go to Latest
function types.isPromise
import { types } from "https://dotland.deno.dev/std@0.110.0/node/sys.ts";
const { isPromise } = types;

Parameters

value: unknown

Returns

boolean