Skip to content

Function: positiveNumber()

positiveNumber(configured, input, fallback, options?): number

Resolve a positive number that may be fractional (a score threshold, a ratio). Use positiveInt for a count, port, or timeout.

unknown

ConfigKey

number

ConfigOptions

number