Files
tianze_front/node_modules/is-what/dist/isFunction.d.ts
T
2026-11-04 14:22:20 +08:00

4 lines
197 B
TypeScript

export type AnyFunction = (...args: any[]) => any;
/** Returns whether the payload is a function (regular or async) */
export declare function isFunction(payload: unknown): payload is AnyFunction;