判断对象是否是function
先看看prototype 1.6.0
isFunction:function(obj){ return typeof obj == "function"; }
/* *isFunction-judge the source is or not function* *@function* *@param source* *@return {boolean}* */ ZYC.lang.isFunction = function(source){ return Object.prototype.toString.call(source) === "[object Function]"; };