Current File : /home/tradevaly/www/node_modules/collect.js/src/methods/has.js
'use strict';

const variadic = require('../helpers/variadic');

module.exports = function has(...args) {
  const properties = variadic(args);

  return properties.filter(key => Object.hasOwnProperty.call(this.items, key)).length
    === properties.length;
};