iter-tools-es
Version:
The iterable toolbox
13 lines (11 loc) • 324 B
JavaScript
const {
wrapWithIterableIterator
} = require('../../internal/iterable.js');
function* __wrapValues(valuesable) {
if (valuesable != null) {
yield* valuesable.values();
}
}
exports.__wrapValues = __wrapValues;
const wrapValues = /*#__PURE__*/wrapWithIterableIterator(__wrapValues);
exports.wrapValues = wrapValues;