UNPKG

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