MCPcopy Create free account
hub / github.com/Effect-TS/effect / string

Function string

packages/effect/src/Config.ts:1150–1152  ·  view source on GitHub ↗
(name?: string)

Source from the content-addressed store, hash-verified

1148 * @since 2.0.0
1149 */
1150export function string(name?: string) {
1151 return schema(Schema.String, name)
1152}
1153
1154/**
1155 * Creates a config for a non-empty string value. Fails if the value is an

Callers

nothing calls this directly

Calls 1

schemaFunction · 0.70

Tested by

no test coverage detected