<div dir="ltr">Hi dear swift developers,<div>   I am kind of new to swift and I don&#39;t know if this feature already exists. And if it exists already please tell me how. Thank you very much!</div><div>  The feature is to capturing the return value (maybe input value also) of the function. Here is the demo code:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(255,255,255);background-color:rgb(40,43,53)">    <span style="color:rgb(194,52,155)">func</span> tableView(<span style="color:rgb(194,52,155)">_</span> tableView: <span style="color:rgb(0,175,202)">UITableView</span>, numberOfRowsInSection section: <span style="color:rgb(0,175,202)">Int</span>) -&gt; <span style="color:rgb(0,175,202)">Int</span> {</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(255,255,255);background-color:rgb(40,43,53)">        <span style="color:rgb(194,52,155)">defer</span> {</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(255,255,255);background-color:rgb(40,43,53)">            <span style="color:rgb(194,52,155)">if</span> $&gt; &gt;= <span style="color:rgb(139,132,207)">0</span> {</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(77,191,86);background-color:rgb(40,43,53)"><span style="color:rgb(255,255,255)">                </span>// table is not empty</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(255,255,255);background-color:rgb(40,43,53)">            }</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(255,255,255);background-color:rgb(40,43,53)">            <span style="color:rgb(194,52,155)">else</span> {</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(77,191,86);background-color:rgb(40,43,53)"><span style="color:rgb(255,255,255)">                </span>// table is empty</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(255,255,255);background-color:rgb(40,43,53)">            }</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(255,255,255);background-color:rgb(40,43,53)">        }</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(255,255,255);background-color:rgb(40,43,53)">        <span style="color:rgb(194,52,155)">return</span> dataSource.cout</p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Consolas;color:rgb(255,255,255);background-color:rgb(40,43,53)">    }</p></div><div><br></div><div>   I suggest using `$&gt;` as the return value symbol and `$&lt;` as the input parameter symbol. </div><div>   Thank you all and best regards to you!</div></div>