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

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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
function isAwaitable
import { isAwaitable } from "https://deno.land/x/blocks@1.100.1/engine/core/utils.ts";

Parameters

v: T | Promise<T>

Returns

v is Promise<T>