MCPcopy Index your code
hub / github.com/Effect-TS/effect / string

Function string

packages/effect/src/internal/config.ts:515–521  ·  view source on GitHub ↗
(name?: string)

Source from the content-addressed store, hash-verified

513
514/** @internal */
515export const string = (name?: string): Config.Config<string> => {
516 const config = primitive(
517 "a text property",
518 Either.right
519 )
520 return name === undefined ? config : nested(config, name)
521}
522
523/** @internal */
524export const nonEmptyString = (name?: string): Config.Config<string> => {

Callers 4

logLevelFunction · 0.70
durationFunction · 0.70
redactedFunction · 0.70
config.tsFile · 0.70

Calls 1

primitiveFunction · 0.85

Tested by

no test coverage detected