How can I check if a variable is neither null or the empty string with javascript?
<p>I have been doing the following:</p>

<pre><code>if (json.RowKeyNew != "") {
    updateGridMeta(entity, json.PartitionKey, json.RowKeyNew, row, tab);
}
</code></pre>

<p>However if the json.RowKeyNew is null then the if condition is met which is not what I want. How can I check for something that is not null and not "" ?</p>
