isBounded

isBounded(x)

Try it yourself:


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().

Try Is Bounded in Calcul.io

Start with one of the editable examples above, then replace its arguments with your own values. Keeping the function on a separate calculator line makes the input and result easy to compare. For a longer workflow, assign the result to a variable or reference that line in the next expression.

Check the shown signature before adding optional arguments, and use the related-function links to compare operations with similar purposes.

All functions