15 lines
339 B
JavaScript
15 lines
339 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', {
|
|
value: true,
|
|
});
|
|
exports.isObjectLike = isObjectLike;
|
|
|
|
/**
|
|
* Return true if `value` is object-like. A value is object-like if it's not
|
|
* `null` and has a `typeof` result of "object".
|
|
*/
|
|
function isObjectLike(value) {
|
|
return typeof value == 'object' && value !== null;
|
|
}
|