reports/frontend/node_modules/es-toolkit/dist/compat/predicate/isFunction.d.mts
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

17 lines
No EOL
517 B
TypeScript

//#region src/compat/predicate/isFunction.d.ts
/**
* Checks if `value` is a function.
*
* @param value The value to check.
* @returns 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;
//#endregion
export { isFunction };