Instance PropertySwift5.9.0

    capacity

    The actual number of elements that can be stored in this object.

    OpenBSD
    unavailable
    final var capacity: Int { get }

    This header may be nontrivial to compute; it is usually a good idea to store this information in the “header” area when an instance is created.