// ets_tracing: off
import * as E from "../../../../Either";
import * as O from "../../../../Option";
import * as Collect from "./collect";
/**
 * Filters any `Left` values.
 */

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