unsafeUnwrap

@inline(__always) func unsafeUnwrap<T>(_: T?)

Returns: nonEmpty!

Requires: nonEmpty != nil. In particular, in -O builds, no test is performed to ensure that nonEmpty actually is non-nil.

Danger: trades safety for performance. Use unsafeUnwrap only when nonEmpty! has proven to be a performance problem and you are confident that, always, nonEmpty != nil. It is better than an unsafeBitCast because it's more restrictive, and because checking is still performed in debug builds.

Declaration

@inline(__always) func unsafeUnwrap<T>(nonEmpty: T?) -> T