@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
11 lines (10 loc) • 342 B
JavaScript
// ets_tracing: off
import { identity } from "../../../../Function/index.mjs";
import * as CollectWhile from "./collectWhile.mjs";
/**
* Terminates the stream when encountering the first `None`.
*/
export function collectWhileSome(self) {
return CollectWhile.collectWhile_(self, identity);
}
//# sourceMappingURL=collectWhileSome.mjs.map