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

Function int

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

Source from the content-addressed store, hash-verified

1233 * @since 4.0.0
1234 */
1235export function int(name?: string) {
1236 return schema(Schema.Int, name)
1237}
1238
1239/**
1240 * Creates a config that only accepts a specific literal value.

Callers

nothing calls this directly

Calls 1

schemaFunction · 0.70

Tested by

no test coverage detected