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
25
frontend/node_modules/es-toolkit/dist/fp/array/isSubset.mjs
generated
vendored
Normal file
25
frontend/node_modules/es-toolkit/dist/fp/array/isSubset.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { isSubset as isSubset$1 } from "../../array/isSubset.mjs";
|
||||
//#region src/fp/array/isSubset.ts
|
||||
/**
|
||||
* Creates a predicate that checks whether the piped array is a subset of superset.
|
||||
*
|
||||
* Every value in the piped array must be present in superset, using the main
|
||||
* {@link isSubset} equality behavior.
|
||||
*
|
||||
* @template T - The type of elements in the arrays.
|
||||
* @param superset - The array that may contain all values from the piped array.
|
||||
* @returns A predicate for the piped array.
|
||||
*
|
||||
* @example
|
||||
* import { isSubset, pipe } from 'es-toolkit/fp';
|
||||
*
|
||||
* pipe([1, 2], isSubset([1, 2, 3]));
|
||||
* // => true
|
||||
*/
|
||||
function isSubset(superset) {
|
||||
return function(array) {
|
||||
return isSubset$1(superset, array);
|
||||
};
|
||||
}
|
||||
//#endregion
|
||||
export { isSubset };
|
||||
Loading…
Add table
Add a link
Reference in a new issue