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

x/pg_mem/utils.ts>isTopLevelExecutionContext

An in memory postgres DB instance for your unit tests
Latest
function isTopLevelExecutionContext
import { isTopLevelExecutionContext } from "https://deno.land/x/pg_mem@3.0.3/utils.ts";

Returns

boolean