Skip to content

isBoundedMs

isBoundedMs(ms): ms is number

Defined in: src/core/types.ts:89

True when ms is a real, finite bound — not omitted and not Infinity (the explicit “no cap” value). Use instead of !== undefined wherever a timeout/deadline value is checked, since Infinity must be treated the same as “not set” everywhere a timer would otherwise be created.

number | undefined

ms is number