import { getDataType } from '../getDataType'; /** * 判断是否为 Function 类型函数 * @category Types * @param fun : 需要判断的数据 * @returns : 返回判断结果布尔值 */ export const isFunction = (fun: any) => { return getDataType(fun) === '[object Function]'; };