[swift-evolution] [Pitch] Introducing the "Unwrap or Die" operator to the standard library
Georgios Moschovitis
george.moschovitis at icloud.com
Sun Jul 2 01:18:07 CDT 2017
> let last = array.last ?? fatalError(“array must not be empty”)
I prefer, the above, explicit version.
-g.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170702/a61afb80/attachment.html>
More information about the swift-evolution
mailing list