UNPKG

358 BJavaScriptView Raw
1'use strict';
2var $ = require('../internals/export');
3var $some = require('../internals/async-iterator-iteration').some;
4
5// `AsyncIterator.prototype.some` method
6// https://github.com/tc39/proposal-async-iterator-helpers
7$({ target: 'AsyncIterator', proto: true, real: true }, {
8 some: function some(predicate) {
9 return $some(this, predicate);
10 }
11});