Dashboard sipadu mbip
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

has.js 392B

1234567891011121314151617
  1. 'use strict';
  2. var variadic = require('../helpers/variadic');
  3. module.exports = function has() {
  4. var _this = this;
  5. for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
  6. args[_key] = arguments[_key];
  7. }
  8. var properties = variadic(args);
  9. return properties.filter(function (key) {
  10. return _this.items[key];
  11. }).length === properties.length;
  12. };