Perform assignment only if right side is not nil
<p>Is there a possibility to only perform an assignment (e.g. to a non-optional property) if the right hand side is not nil? I am looking for a one-line form for:</p>

<pre><code>if let unwrapped = funcThatReturnsOptional() {
    object.nonOptionalProperty = unwrapped
}
</code></pre>