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

21 lines
460 B
TypeScript

/**
* Creates an array of property names from an object where the property values are functions.
*
* @param {any} object - The object to inspect.
* @returns {string[]} - 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[];
export { functions };