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

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