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

Function Int

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

Source from the content-addressed store, hash-verified

1084 * @since 4.0.0
1085 */
1086export function Int(name?: string) {
1087 return schema(Schema.Int, name)
1088}
1089
1090/**
1091 * Creates a config that only accepts a specific literal value.

Callers 2

applyMethod · 0.50
Brand.test.tsFile · 0.50

Calls 1

schemaFunction · 0.70

Tested by

no test coverage detected