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
24
frontend/node_modules/es-toolkit/dist/set/some.d.mts
generated
vendored
Normal file
24
frontend/node_modules/es-toolkit/dist/set/some.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
//#region src/set/some.d.ts
|
||||
/**
|
||||
* Tests whether at least one element in a Set satisfies the provided predicate function.
|
||||
*
|
||||
* This function iterates through the elements of the Set and checks if the predicate function
|
||||
* returns true for at least one element. It returns true if any element satisfies the predicate,
|
||||
* and false otherwise.
|
||||
*
|
||||
* @template T - The type of elements in the Set.
|
||||
* @param set - The Set to test.
|
||||
* @param doesMatch - A predicate function that tests each element.
|
||||
* @returns true if at least one element satisfies the predicate, false otherwise.
|
||||
*
|
||||
* @example
|
||||
* const set = new Set([1, 2, 3]);
|
||||
* const result = some(set, (value) => value > 2);
|
||||
* // result will be: true
|
||||
*
|
||||
* const result2 = some(set, (value) => value > 5);
|
||||
* // result2 will be: false
|
||||
*/
|
||||
declare function some<T>(set: Set<T>, doesMatch: (value: T, value2: T, set: Set<T>) => boolean): boolean;
|
||||
//#endregion
|
||||
export { some };
|
||||
Loading…
Add table
Add a link
Reference in a new issue