function isExitsFunction(funcName){ try{ if(typeof(eval(funcName))=="function"){ return true; } }catch(e){ } return false; }