// ets_tracing: off
import * as E from "../../Either";
import * as O from "../../Option";
import { collect_ } from "./collect";
/**
 * Filters any `Right` values.
 */

export function collectLeft(self) {
  return collect_(self, E.fold(l => O.some(l), _ => O.none));
}
//# sourceMappingURL=collectLeft.js.map