Package: effect
Module: Config
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
number for accepting any numberport for accepting only integers in 1 through 65535Signature
declare const int: (name?: string) => Config<number>
Since v4.0.0