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/predicate/isArguments.js
generated
vendored
Normal file
27
frontend/node_modules/es-toolkit/dist/compat/predicate/isArguments.js
generated
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
const require_getTag = require("../_internal/getTag.js");
|
||||
//#region src/compat/predicate/isArguments.ts
|
||||
/**
|
||||
* Checks if the given value is an arguments object.
|
||||
*
|
||||
* This function tests whether the provided value is an arguments object or not.
|
||||
* It returns `true` if the value is an arguments object, and `false` otherwise.
|
||||
*
|
||||
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an arguments object.
|
||||
*
|
||||
* @param value - The value to test if it is an arguments object.
|
||||
* @returns `true` if the value is an arguments, `false` otherwise.
|
||||
*
|
||||
* @example
|
||||
* const args = (function() { return arguments; })();
|
||||
* const strictArgs = (function() { 'use strict'; return arguments; })();
|
||||
* const value = [1, 2, 3];
|
||||
*
|
||||
* console.log(isArguments(args)); // true
|
||||
* console.log(isArguments(strictArgs)); // true
|
||||
* console.log(isArguments(value)); // false
|
||||
*/
|
||||
function isArguments(value) {
|
||||
return value !== null && typeof value === "object" && require_getTag.getTag(value) === "[object Arguments]";
|
||||
}
|
||||
//#endregion
|
||||
exports.isArguments = isArguments;
|
||||
Loading…
Add table
Add a link
Reference in a new issue