Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* syntax:
- public func assertionFailure(
- _ message: @autoclosure () -> String = default,
- file: StaticString = #file,
- line: UInt = #line)
- */
- guard age >= 3 else {
- return assertionFailure("Age can't be less than 3")
- }
Add Comment
Please, Sign In to add comment