UNPKG

@sebastianwessel/quickjs

Version:

A typescript package to execute JavaScript and TypeScript code in a WebAssembly QuickJS sandbox

8 lines (7 loc) 279 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isObject = isObject; // biome-ignore lint/complexity/noBannedTypes: ok here function isObject(value) { return typeof value === 'function' || (typeof value === 'object' && value !== null); }