reports/frontend/node_modules/es-toolkit/dist/compat/object/functions.d.ts
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

21 lines
No EOL
495 B
TypeScript

//#region src/compat/object/functions.d.ts
/**
* Creates an array of property names from an object where the property values are functions.
*
* @param object - The object to inspect.
* @returns An array of function property names.
*
* @example
* function Foo() {
* this.a = () => 'a';
* this.b = () => 'b';
* }
*
* Foo.prototype.c = () => 'c';
*
* functions(new Foo);
* // => ['a', 'b']
*/
declare function functions(object: any): string[];
//#endregion
export { functions };