UNPKG

@sebastianwessel/quickjs

Version:

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

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