tiny-types
Version:
A tiny library that brings Tiny Types to JavaScript and TypeScript
14 lines • 406 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isObject = isObject;
/**
* @access private
*/
function isObject(value) {
return value !== null
&& value !== undefined
&& typeof value === 'object'
&& Array.isArray(value) === false
&& Object.prototype.toString.call(value) === '[object Object]';
}
//# sourceMappingURL=isObject.js.map