---
layout: "default"
title: "Operator: prefix ~"
description: "Swift documentation for the 'prefix ~' operator."
root: "/v3.1"
---

<code class="language-swift"> operator prefix ~ {
    associativity 
    precedence 
}</code>

<h3>Declarations</h3>

<div class="declaration" id="func-tilde_-int">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-tilde_-int">prefix func ~(<wbr>_: Int)</a>
        
<div class="comment collapse" id="comment-func-tilde_-int"><div class="p">
    <p>Returns the in