I coded this:
        isNumberNotZero: function (num) {
            // Return false if num is null, an empty string or zero
            if (num === null || typeof num === "undefined" || (typeof num === "string" && num.length === 0) || num == 0) {
                return false;
            }
            return true;
        },
But is there an easier way to do this. The code I have does not seem very clean.
 
     
     
     
    