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

<div class="intro-declaration"><code class="language-swift">enum Never</code></div><p>The return type of functions that do not return normally, that is, a type
with no values.</p>
<table class="standard"><tr><th id="inheritance">Inheritance</th><td><code class="inherits">Comparable</code></td></tr></table><div class="discussion comment"><p>Use <code>Never</code> as the return type when declari