effect-io-ai

Package: effect
Module: Config

Config.int

Creates a config for an integer value. Rejects floats.

When to use

Use to read a numeric config value that must be an integer.

Details

Shortcut for Config.schema(Schema.Int, name).

See

Signature

declare const int: (name?: string) => Config<number>

Source

Since v4.0.0