jQuery判断对象是否是函数

var show=function () {
    // body...
}

if($.isFunction(show)){
    //是函数
}else{
    //不是函数
}