Function: positiveInt()
positiveInt(
configured,input,fallback,options?):number
Resolve a positive integer (a port, a timeout, a page size), floored. A non-numeric or non-positive value is treated as ABSENT rather than fatal - these are ceilings where a sane default beats a boot failure.
Parameters
Section titled “Parameters”configured
Section titled “configured”unknown
ConfigKey
fallback
Section titled “fallback”number
options?
Section titled “options?”Returns
Section titled “Returns”number