Sha256: b321b85da7e3f2140d15c134e9ed59395c7976c99978ff757a965540fc98704b
Contents?: true
Size: 326 Bytes
Versions: 19
Compression:
Stored size: 326 Bytes
Contents
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; };
Version data entries
19 entries across 18 versions & 7 rubygems