UNPKG

@klodianimeri/pipejs

Version:

Pipe functions that provide convenient and efficient ways to work with iterators.

8 lines 229 B
export const Yields = (values) => { let yields = new Array(); for (let i = 0; i < values.length; i++) { yields[i] = { value: values[i], done: false }; } return yields; }; //# sourceMappingURL=yields.js.map