isBounded(): test for finite bounds
isBounded(x) tests whether a value or collection is bounded rather than extending to positive or negative infinity. It is useful for validating numerical inputs before an optimization or display calculation.
Why boundedness matters
Unbounded values can make averages, charts, and iterative algorithms misleading. Test input before applying mean(), max(), or min(). Use isFinite() for a direct finite-value check.
Interpret results carefully
Boundedness is a property of the supplied value and type, not proof that a future calculation stays bounded. Treat a true result as a validation step and still guard divisions with isZero().