UNPKG

400 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.default = (function (value) {
4 /**
5 * isObject({}) => true
6 * isObject([1, 2, 3]) => true
7 * isObject(Function) => true
8 * isObject(null) => false
9 */
10 var type = typeof value;
11 return value !== null && type === 'object' || type === 'function';
12});
13//# sourceMappingURL=is-object.js.map
\No newline at end of file