aztec-nr - std::mem

Function array_refcount

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.