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

Function describeUnknown

repos/effect/packages/effect/src/ConfigProvider.ts:758–770  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

756 * ```ts import.meta.vitest
757 * import { Config, ConfigProvider, Effect } from "effect"
758 *
759 * const provider = ConfigProvider.fromUnknown({
760 * database: {
761 * host: "localhost",
762 * port: 5432
763 * }
764 * })
765 *
766 * const host = Config.string("host").parse(
767 * provider.pipe(ConfigProvider.nested("database"))
768 * )
769 *
770 * Effect.runSync(host) // => "localhost"
771 * ```
772 *
773 * @see {@link fromEnv} – for environment variables

Callers 1

nodeAtJsonFunction · 0.85

Calls 5

formatFunction · 0.90
makeValueFunction · 0.85
makeArrayFunction · 0.85
makeRecordFunction · 0.85
StringInterface · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…