Arrays store ordered collections of values of the same type. You can add, remove, or access items by their index.
count
: Number of items in the array.remove(at: index)
: Remove item at index.contains(_:)
: Check if array contains an item.isEmpty
: Checks if the array is empty.for item in array
to loop through all items.