title: Can we convert a function object to String on iOS?
body: <p>In JavaScript we have something like .toString which can convert the entire function object to string.
  Do we have something similar on IOS?</p>
  
  <p>For example, in JavaScript if we have function like this, after converting it with .toString and printing the value in console we see the entire function object.</p>
  
  <pre><code>function sum(a, b)
  { 
    return a + b;
  }
  console.log(sum.toString());
  
  // expected output: 
  // "function sum(a, b) 
  //   {
  //return a + b;
  //  }"
  </code></pre>
  
  <p>Can we do something similar for IOS? I tried String (describing :Function) in Swift but that didn't work and gave me output as (Function) but not the complete structure like we get in JavaScript .toString.</p>
  
  <pre><code> public func say_hello()
   {
      print("Hello, World!")
   }
  
  String(describing: say_hello))
  //Output:(Function)
  </code></pre>