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

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

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
function isAwaitable
import { isAwaitable } from "https://deno.land/x/blocks@1.60.10/engine/core/utils.ts";

Parameters

v: T | Promise<T>

Returns

v is Promise<T>