MCPcopy Create free account
hub / github.com/effect-app/libs / succeed

Function succeed

repos/effect/packages/effect/src/Config.ts:872–874  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

870 *
871 * @see {@link string} / {@link number} / {@link boolean} – shortcuts for
872 * single-value configs
873 *
874 * @category schemas
875 * @since 4.0.0
876 */
877export function schema<T>(codec: Schema.ConstraintCodec<T, unknown>, path?: string | ConfigProvider.Path): Config<T> {

Callers 1

Config.tsFile · 0.70

Calls 2

makeFunction · 0.70
succeedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…