iterama
Version:
Composable functional (async) iterable helpers
10 lines • 314 B
JavaScript
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
export var startWith = function startWith(value) {
return function (iterable) {
return _defineProperty({}, Symbol.iterator, function* () {
yield value;
yield* iterable;
});
};
};
//# sourceMappingURL=start-with.js.map