mirror of https://github.com/jkjoy/sunpeiwen.git
4 lines
81 B
TypeScript
4 lines
81 B
TypeScript
|
export const isFunction = (v): boolean => {
|
||
|
return typeof v === 'function';
|
||
|
};
|