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

x/blocks/engine/core/utils.ts>isAwaitable

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
function isAwaitable
import { isAwaitable } from "https://deno.land/x/blocks@1.28.0-beta.4/engine/core/utils.ts";

Parameters

v: T | Promise<T>

Returns

v is Promise<T>