import * as tsplus_module_1 from "@effect/core/io/FiberId/operations/isNone";
/**
 * Returns this `FiberId` if it is not `None`, otherwise returns that `FiberId`.
 *
 * @tsplus fluent ets/FiberId getOrElse
 */

export function getOrElse_(self, that) {
  return tsplus_module_1.isNone(self) ? that() : self;
}
/**
 * Returns this `FiberId` if it is not `None`, otherwise returns that `FiberId`.
 *
 * @tsplus static ets/FiberId/Aspects getOrElse
 */

export const getOrElse = that => self => getOrElse_(self, that);
//# sourceMappingURL=getOrElse.mjs.map