UNPKG

@sebastianwessel/quickjs

Version:

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

5 lines (4 loc) 180 B
// biome-ignore lint/complexity/noBannedTypes: ok here export function isObject(value) { return typeof value === 'function' || (typeof value === 'object' && value !== null); }