integer

Validate integer values.

Usage

A signed or unsigned whole number, such as 42 or -1.

env "WORKERS", type: "integer"

Validation leaves the value as a string. Encryption and redaction remain enabled by default; add encrypted: false to permit plaintext and redacted: false to permit output visibility.

Use min and max to narrow the allowed range.