UNPKG

iter-tools-es

Version:
13 lines (11 loc) 265 B
const { wrapWithIterableIterator } = require('../../internal/iterable.js'); function* __repeat(value) { while (true) { yield value; } } exports.__repeat = __repeat; const repeat = /*#__PURE__*/wrapWithIterableIterator(__repeat); exports.repeat = repeat;