> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function assert_constant

Module: `std`

```rust
pub fn assert_constant<T>(x: T)
```

Asserts that the given value is known at compile-time. Useful for debugging for-loop bounds.
