// ets_tracing: off
import { identity } from "../../Function";
import { collectWhileMap_ } from "./collectWhileMap";
/**
 * Terminates the stream when encountering the first `None`.
 */

export function collectWhileSome(self) {
  return collectWhileMap_(self, identity);
}
//# sourceMappingURL=collectWhileSome.js.map