Skip to main content
isContext - vm - Node documentation
function isContext

Usage in Deno

import { isContext } from "node:vm";
isContext(sandbox: Context): boolean

Returns true if the given object object has been contextified using createContext.

Parameters

sandbox: Context

Return Type

boolean