isObject.js
1 'use strict'; 2 3 /** @type {import('./isObject')} */ 4 module.exports = function isObject(x) { 5 return !!x && (typeof x === 'function' || typeof x === 'object'); 6 };
1 'use strict'; 2 3 /** @type {import('./isObject')} */ 4 module.exports = function isObject(x) { 5 return !!x && (typeof x === 'function' || typeof x === 'object'); 6 };