- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
11 lines
211 B
TypeScript
11 lines
211 B
TypeScript
/**
|
|
* 是否为函数
|
|
* @param {*} fn 对象
|
|
* @return {Boolean} 是否函数
|
|
*/
|
|
import isType from './is-type';
|
|
|
|
export default (value: any): value is Function => {
|
|
return isType(value, 'Function');
|
|
};
|