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
29
frontend/node_modules/es-toolkit/dist/map/hasValue.d.ts
generated
vendored
Normal file
29
frontend/node_modules/es-toolkit/dist/map/hasValue.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
//#region src/map/hasValue.d.ts
|
||||
/**
|
||||
* Checks if a Map contains a specific value.
|
||||
*
|
||||
* This function iterates through all values in the Map and checks if any value
|
||||
* is equal to the search element using SameValueZero comparison (similar to
|
||||
* Array.prototype.includes). This means that NaN is considered equal to NaN.
|
||||
*
|
||||
* @template K - The type of keys in the Map.
|
||||
* @template V - The type of values in the Map.
|
||||
* @param map - The Map to search.
|
||||
* @param searchElement - The value to search for.
|
||||
* @returns true if the Map contains the value, false otherwise.
|
||||
*
|
||||
* @example
|
||||
* const map = new Map([
|
||||
* ['a', 1],
|
||||
* ['b', 2],
|
||||
* ['c', 3]
|
||||
* ]);
|
||||
* const result = hasValue(map, 2);
|
||||
* // result will be: true
|
||||
*
|
||||
* const result2 = hasValue(map, 5);
|
||||
* // result2 will be: false
|
||||
*/
|
||||
declare function hasValue<K, V>(map: Map<K, V>, searchElement: V): boolean;
|
||||
//#endregion
|
||||
export { hasValue };
|
||||
Loading…
Add table
Add a link
Reference in a new issue