UNPKG

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