# assert_le · Rell standard library · Chromia Docs (concept)

> pure function assert_ le<T>(actual: T, greatest_ expected: T): unit Assert that a value is less than or equal to a given upper bound. Parameters actual — t

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.test/assert_le/

FUNCTION

# assert\_le

```signature
pure function assert_le<T>(actual: T, greatest_expected: T): unit
```

Assert that a value is less than or equal to a given upper bound.

**Parameters**

* **actual** — the actual value
* **greatest\_expected** — the upper bound (inclusive)

Since 0.10.4

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/rell.test/assert_le.html)Generated API reference, mirrored from the live docs
