def capacity_owned
import bend-collections@1.0.0.0/src/containers/dynamic_array.bend as DynamicArrayimport Base
520def capacity_owned(~T: Type, da: DynArray<&1, T>) -> DynArray<&1, T> & Nat:
521 DA{limit, depth, +cap, len, arr} = da
522 (DA{limit, depth, cap, len, arr}, cap)
Uses (4)
Used by (0)
No other definition uses this definition.