---
title: "Repeated"
layout: "default"
description: "Swift documentation for 'Repeated'"
keywords: ""
root: "/v5.1"
---

<div class="intro-declaration"><code class="language-swift">struct Repeated</code></div><p>A collection whose elements are all identical.</p>
<table class="standard"><tr><th id="inheritance">Inheritance</th><td><code class="inherits">RandomAccessCollection</code></td></tr><tr><th id="aliases">Associated Types</th><td><span id="aliasesmark"></span><div class="declaration"><code class="lan