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

# Function array_refcount

Module: `std::mem`

```rust
pub fn array_refcount<T, let N: u32>(array: [T; N]) -> u32
```

Returns the internal reference count of an array value in unconstrained code.

Arrays only have reference count in unconstrained code - using this anywhere else will return zero.
