UNPKG

corde

Version:

A simple library for Discord bot tests

9 lines (8 loc) 241 B
/** * Returns true if the object is a function. * * @param fn The value to check. * @returns A definition that the value is or not a function. * @internal */ export declare function isFunction<T>(fn: any): fn is (...args: any[]) => T;