Sha256: 38058242e6a0aceb59b0df318a046c9e119075aba5e2b3495779cfc5e6136acf

Contents?: true

Size: 348 Bytes

Versions: 328

Compression:

Stored size: 348 Bytes

Contents

'use strict';

var IteratorComplete = require('./IteratorComplete');
var IteratorNext = require('./IteratorNext');

// https://262.ecma-international.org/6.0/#sec-iteratorstep

module.exports = function IteratorStep(iterator) {
	var result = IteratorNext(iterator);
	var done = IteratorComplete(result);
	return done === true ? false : result;
};

Version data entries

328 entries across 41 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/es-abstract/2015/IteratorStep.js
immosquare-cleaner-0.1.51 node_modules/es-abstract/2019/IteratorStep.js
immosquare-cleaner-0.1.51 node_modules/es-abstract/2021/IteratorStep.js
immosquare-cleaner-0.1.51 node_modules/es-abstract/2017/IteratorStep.js
immosquare-cleaner-0.1.51 node_modules/es-abstract/2018/IteratorStep.js
immosquare-cleaner-0.1.51 node_modules/es-abstract/2016/IteratorStep.js
immosquare-cleaner-0.1.51 node_modules/es-abstract/2022/IteratorStep.js
immosquare-cleaner-0.1.51 node_modules/es-abstract/2020/IteratorStep.js
immosquare-cleaner-0.1.50 node_modules/es-abstract/2015/IteratorStep.js
immosquare-cleaner-0.1.50 node_modules/es-abstract/2017/IteratorStep.js
immosquare-cleaner-0.1.50 node_modules/es-abstract/2020/IteratorStep.js
immosquare-cleaner-0.1.50 node_modules/es-abstract/2019/IteratorStep.js
immosquare-cleaner-0.1.50 node_modules/es-abstract/2021/IteratorStep.js
immosquare-cleaner-0.1.50 node_modules/es-abstract/2018/IteratorStep.js
immosquare-cleaner-0.1.50 node_modules/es-abstract/2016/IteratorStep.js
immosquare-cleaner-0.1.50 node_modules/es-abstract/2022/IteratorStep.js
immosquare-cleaner-0.1.49 node_modules/es-abstract/2015/IteratorStep.js
immosquare-cleaner-0.1.49 node_modules/es-abstract/2016/IteratorStep.js
immosquare-cleaner-0.1.49 node_modules/es-abstract/2017/IteratorStep.js
immosquare-cleaner-0.1.49 node_modules/es-abstract/2020/IteratorStep.js