title: Why Cant I return Void directly in a function
body: <p>In test1(), it can return Void which returned by test() successfully. But in test2(), error throws. Why?</p>
  
  <pre><code>//: Playground - noun: a place where people can play
  
  import UIKit
  import AVFoundation
  
  func test()-&gt;Void{
      print("Hello")
  }
  
  func test1(){//print Hello
      return test()
  }
  
  func test2(){// throw error
      return Void
  }
  </code></pre>