@segment/analytics-core
Version:
This package represents core 'shared' functionality that is shared by analytics packages. This is not designed to be used directly, but internal to analytics-node and analytics-browser.
13 lines • 475 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.hasProperties = void 0;
function hasProperties(obj) {
var keys = [];
for (var _i = 1; _i < arguments.length; _i++) {
keys[_i - 1] = arguments[_i];
}
// eslint-disable-next-line no-prototype-builtins
return !!obj && keys.every(function (key) { return obj.hasOwnProperty(key); });
}
exports.hasProperties = hasProperties;
//# sourceMappingURL=has-properties.js.map