---
layout: "default"
title: "Array"
description: "Swift documentation for 'Array': Array is an efficient, tail-growable random-access
collection of arbitrary elements."
keywords: "Array,struct,swift,documentation,append,appendContentsOf,appendContentsOf,appendContentsOf,contains,dropFirst,dropFirst,dropLast,dropLast,elementsEqual,enumerate,filter,flatMap,flatMap,forEach,generate,indexOf,insert,insertContentsOf,lexicographicalCompare,map,maxElement,minElement,partition,popLast,prefix,prefixThrough,prefixUpT