effect-io-ai

Package: effect
Module: Config

Config.map

Returns a config whose structure is the same as this one, but which produces a different value, constructed using the specified function.

Signature

declare const map: { <A, B>(f: (a: A) => B): (self: Config<A>) => Config<B>; <A, B>(self: Config<A>, f: (a: A) => B): Config<B>; }

Source

Since v2.0.0