The return type of functions that do not return normally, that is, a type with no values.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Overview
Use Never
as the return type when declaring a closure, function, or method that unconditionally throws an error, traps, or otherwise does not terminate.