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

# Function static_assert

Module: `std`

```rust
pub fn static_assert<T>(predicate: bool, message: T)
```

Asserts that the given value is both true and known at compile-time. The message can be a string, a format string, or any value, as long as it is known at compile-time
