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

> pure function assert_ true(actual: boolean ): unit Assert a value is true . Prefer other assertion functions where possible, as they provide better error m

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

FUNCTION

# assert\_true

```signature
pure function assert_true(actual: boolean): unit
```

Assert a value is `true`.

Prefer other assertion functions where possible, as they provide better error messages.

**Parameters**

* **actual** — the value

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_true.html)Generated API reference, mirrored from the live docs
