Functions
The following functions are available globally.
-
overrides Swift global
fatalError, used for unit tests.Declaration
Swift
public func fatalError(_ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line) -> Never -
This is a
noreturnfunction that pauses foreverDeclaration
Swift
public func unreachable() -> Never
View on GitHub
Functions Reference