// tracing: off
import * as O from "../../Option"
import { mapError_ } from "./mapError"
import { someOrFail_ } from "./someOrFail"
/**
 * Converts an option on values into an option on errors.
 */

export function some(self) {
  return someOrFail_(mapError_(self, O.some), () => O.none)
}
//# sourceMappingURL=some.js.map
