MultiLoader-Template/node_modules/es-toolkit/dist/predicate/isFunction.d.ts
3944Realms 768f38fc97 feat: 可使用的构建模板
修改了脚本,使其可以推给Maven仓库
2026-05-03 13:02:19 +08:00

17 lines
475 B
TypeScript

/**
* Checks if `value` is a function.
*
* @param {any} value The value to check.
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
*
* @example
* isFunction(Array.prototype.slice); // true
* isFunction(async function () {}); // true
* isFunction(function* () {}); // true
* isFunction(Proxy); // true
* isFunction(Int8Array); // true
*/
declare function isFunction(value: any): value is (...args: any[]) => any;
export { isFunction };