UNPKG

426 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.exists = exists;
7function exists() {
8 var _this = this;
9
10 for (var _len = arguments.length, keys = Array(_len), _key = 0; _key < _len; _key++) {
11 keys[_key] = arguments[_key];
12 }
13
14 return keys.reduce(function (totalExists, key) {
15 if (_this.data.has(key)) {
16 return totalExists + 1;
17 }
18 return totalExists;
19 }, 0);
20}
\No newline at end of file