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

Function String

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

Source from the content-addressed store, hash-verified

995 * @since 2.0.0
996 */
997export function String(name?: string) {
998 return schema(Schema.String, name)
999}
1000
1001/**
1002 * Creates a config for a non-empty string value. Fails if the value is an

Callers 15

Option.test.tsFile · 0.90
Result.test.tsFile · 0.90
Schema.test.tsFile · 0.90
toJSONFunction · 0.70
toStringUnknownFunction · 0.70
Graph.tsFile · 0.70
[Hash.symbol]Function · 0.70
toJSONFunction · 0.70
hashFunction · 0.70
isCanonicalArrayIndexFunction · 0.70
recurUnsafeFunction · 0.70
formatPropertyKeyFunction · 0.70

Calls 1

schemaFunction · 0.70

Tested by 15

patternsFunction · 0.40
declareParameterFunction · 0.40
queryResultFunction · 0.40
nowFunction · 0.40
postFunction · 0.40
makeConnectorFunction · 0.40
AppFunction · 0.40
runMethod · 0.40
execMethod · 0.40
nextRequestIdFunction · 0.40
assertDieFunction · 0.40
HoldLayerFunction · 0.40