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

Function number

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

Source from the content-addressed store, hash-verified

1191 * @since 2.0.0
1192 */
1193export function number(name?: string) {
1194 return schema(Schema.Number, name)
1195}
1196
1197/**
1198 * Creates a config for a finite number (rejects `NaN` and `Infinity`).

Callers

nothing calls this directly

Calls 1

schemaFunction · 0.70

Tested by

no test coverage detected