# isBounded() Function & Examples

Use the isBounded() utils function in Calcul.io. Review its syntax, edit working examples, understand the result, and explore related math functions.

## isBounded

#### isBounded(x)

Try it yourself:

```calculio
isBounded(Infinity)
isBounded(bigint(3))
isBounded([3, -Infinity, -3])
```

---

## 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()](https://calcul.io/function/mean/index.md), [max()](https://calcul.io/function/max/index.md), or [min()](https://calcul.io/function/min/index.md). Use [isFinite()](https://calcul.io/function/isFinite/index.md) 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()](https://calcul.io/function/isZero/index.md).

[All functions](https://calcul.io/functions/index.md)
