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

Function Number

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

Source from the content-addressed store, hash-verified

1040 * @since 2.0.0
1041 */
1042export function Number(name?: string) {
1043 return schema(Schema.Number, name)
1044}
1045
1046/**
1047 * Creates a config for a finite number (rejects `NaN` and `Infinity`).

Callers 15

parseComponentFunction · 0.70
Array_Function · 0.70
splitStepFunction · 0.70
aliasOrValueFunction · 0.70
toNumberUnsafeFunction · 0.70
toJsonPointerArrayIndexFunction · 0.70
roundTerminalFunction · 0.70
fromStringFunction · 0.70
toNumberUnsafeFunction · 0.70
isCanonicalArrayIndexFunction · 0.70
Stream.tsFile · 0.70
nanosToUnitFunction · 0.70

Calls 1

schemaFunction · 0.70

Tested by 15

githubClientFunction · 0.40
execMethod · 0.40
parseValueFunction · 0.40
userPostsFunction · 0.40
statFunction · 0.40
runMethod · 0.40
execMethod · 0.40
roundRowsFunction · 0.40
sizeOfFunction · 0.40
framesFunction · 0.40
listingFunction · 0.40
makeRoutesFunction · 0.40