Package: effect
Module: Config
Returns a new config whose structure is the samea as this one, but which may produce a different value, constructed using the specified fallible function.
Signature
declare const mapOrFail: { <A, B>(f: (a: A) => Either.Either<B, ConfigError.ConfigError>): (self: Config<A>) => Config<B>; <A, B>(self: Config<A>, f: (a: A) => Either.Either<B, ConfigError.ConfigError>): Config<B>; }
Since v2.0.0