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

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