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

# Function append

Module: `noir_aztec::utils::array::append`

```rust
pub fn append<T, let ALen: u32, let BLen: u32, let DstLen: u32>(
    a: BoundedVec<T, ALen>,
    b: BoundedVec<T, BLen>,
) -> BoundedVec<T, DstLen>
```

Appends the elements of the second `BoundedVec` to the end of the first one. The resulting `BoundedVec` can have any arbitrary maximum length, but it must be large enough to fit all of the elements of both the first and second vectors.
