mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
10 lines
326 B
JavaScript
10 lines
326 B
JavaScript
var getIteratorMethod = require('../internals/get-iterator-method');
|
|
var wellKnownSymbol = require('../internals/well-known-symbol');
|
|
|
|
var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');
|
|
|
|
module.exports = function (it) {
|
|
var method = it[ASYNC_ITERATOR];
|
|
return method === undefined ? getIteratorMethod(it) : method;
|
|
};
|