capacity
The maximum number of elements this array can hold without having to reallocate its storage.
Declaration
var capacity: Int { get }The maximum number of elements this array can hold without having to reallocate its storage.
var capacity: Int { get }