Swift use of break in guard statement
<p>I'm trying to use <code>break</code> in an <code>guard</code> statement, but the compiler tells me </p>

<blockquote>
  <p>'break' is only allowed inside a loop, if, do, or switch</p>
</blockquote>

<p>Is possible to write something like in this snippet (this is just an MCV)?</p>

<pre><code>   func test(string: String?, x: Int) {
        print("Function Scope BEGIN")
        if x &gt; 4 {
            guard let pr = string else { break }
            print(pr)
        }
        else {
            print("Not")
        }
        print("Function Scope END")
    }
</code></pre>