1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.exists = exists;
|
7 | function 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 |