forgeplus-react/node_modules/ahooks/es/utils/index.js

3 lines
71 B
JavaScript

export function isFunction(obj) {
return typeof obj === 'function';
}