怎么判断类型是否是函数

typeof re=="function"

如果re是函数,那么返回值为true;否则返回false

原文地址:https://www.cnblogs.com/jianxingjianyuan/p/6566167.html