搜索文档
isFunction(val): boolean
val
boolean
判断是否为函数
unknown
是否为函数
Example
isFunction(() => {}); // => true isFunction({}); // => false