Asserts that an expression is
- Xcode 7.3+
An expression of type
Any?to compare against
An optional description of the failure.
The file in which failure occurred. Defaults to the file name of the test case in which this function was called.
The line number on which failure occurred. Defaults to the line number on which this function was called.
Generates a failure when
expression != nil.