How to tell if a function is blank?
<p>I am writing a web app (and honestly I dont know what I would do without stackoverflow), but here is what I am doing. </p>

<p>My users can define custom functions, Well right off the bat someone pointed out to me there should be a way to warn the user that the function is blank.</p>

<p>for example a user may write his function to look like this</p>

<pre><code>cFunctionRun: function () {}
</code></pre>

<p>Sadly I have no control over how a function is created which means this very well could happen.</p>

<p>So now I have to find a way to tell the user that this function wont do anything, because well there is nothing it can do. If this is impossible that is fine, but I thought it wouldn't hurt to ask.</p>

<p>For more information on the cFunctionRun part check out this stackOverflow question <a href="http://stackoverflow.com/questions/14738154/jquery-bind-custom-function-to-appended-element/14738582">jQuery bind custom function to appended element</a></p>
