Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
27
frontend/node_modules/es-toolkit/dist/compat/object/functionsIn.js
generated
vendored
Normal file
27
frontend/node_modules/es-toolkit/dist/compat/object/functionsIn.js
generated
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
const require_isFunction = require("../../predicate/isFunction.js");
|
||||
//#region src/compat/object/functionsIn.ts
|
||||
/**
|
||||
* Returns an array of property names whose values are functions, including inherited properties.
|
||||
*
|
||||
* @param object The object to inspect.
|
||||
* @returns Returns the function names.
|
||||
* @example
|
||||
*
|
||||
* function Foo() {
|
||||
* this.a = function() { return 'a'; };
|
||||
* this.b = function() { return 'b'; };
|
||||
* }
|
||||
*
|
||||
* Foo.prototype.c = function() { return 'c'; };
|
||||
*
|
||||
* functionsIn(new Foo);
|
||||
* // => ['a', 'b', 'c']
|
||||
*/
|
||||
function functionsIn(object) {
|
||||
if (object == null) return [];
|
||||
const result = [];
|
||||
for (const key in object) if (require_isFunction.isFunction(object[key])) result.push(key);
|
||||
return result;
|
||||
}
|
||||
//#endregion
|
||||
exports.functionsIn = functionsIn;
|
||||
Loading…
Add table
Add a link
Reference in a new issue