boolean

Validate boolean values.

Usage

Exactly true, false, 1, or 0.

env "FEATURE_ENABLED", type: "boolean"

Validation leaves the value as a string. Storage defaults to "any" and redaction is off. Set storage: "encrypted" and redacted: true for secrets.