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
26
frontend/node_modules/es-toolkit/dist/compat/predicate/isArray.js
generated
vendored
Normal file
26
frontend/node_modules/es-toolkit/dist/compat/predicate/isArray.js
generated
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
//#region src/compat/predicate/isArray.ts
|
||||
/**
|
||||
* Checks if the given value is an array.
|
||||
*
|
||||
* This function tests whether the provided value is an array or not.
|
||||
* It returns `true` if the value is an array, and `false` otherwise.
|
||||
*
|
||||
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an array.
|
||||
*
|
||||
* @param value - The value to test if it is an array.
|
||||
* @returns `true` if the value is an array, `false` otherwise.
|
||||
*
|
||||
* @example
|
||||
* const value1 = [1, 2, 3];
|
||||
* const value2 = 'abc';
|
||||
* const value3 = () => {};
|
||||
*
|
||||
* console.log(isArray(value1)); // true
|
||||
* console.log(isArray(value2)); // false
|
||||
* console.log(isArray(value3)); // false
|
||||
*/
|
||||
function isArray(value) {
|
||||
return Array.isArray(value);
|
||||
}
|
||||
//#endregion
|
||||
exports.isArray = isArray;
|
||||
Loading…
Add table
Add a link
Reference in a new issue