action-debian-package/node_modules/ramda/es/internal/_arrayFromIterator.js

10 lines
168 B
JavaScript
Raw Normal View History

2020-03-26 14:37:35 +00:00
export default function _arrayFromIterator(iter) {
var list = [];
var next;
while (!(next = iter.next()).done) {
list.push(next.value);
}
return list;
}