@fileverse-dev/formulajs 4.4.53 → 4.4.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/formula.js +1531 -13286
- package/lib/browser/formula.min.js +2 -2
- package/lib/browser/formula.min.js.map +1 -1
- package/lib/cjs/index.cjs +3047 -14671
- package/lib/esm/crypto-constants.mjs +18 -887
- package/lib/esm/index.mjs +3048 -14656
- package/package.json +1 -1
- package/types/cjs/index.d.cts +417 -585
- package/types/esm/index.d.mts +0 -108
package/types/esm/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export function AAVE(...args: any[]): Promise<any>;
|
|
2
1
|
/**
|
|
3
2
|
* Returns the absolute value of a number.
|
|
4
3
|
*
|
|
@@ -182,7 +181,6 @@ export function AVERAGEIF(range: any, criteria: any, average_range: any, ...args
|
|
|
182
181
|
* @returns
|
|
183
182
|
*/
|
|
184
183
|
export function AVERAGEIFS(...args: any[]): number;
|
|
185
|
-
export function BASE(...args: any[]): Promise<any>;
|
|
186
184
|
/**
|
|
187
185
|
* Returns the modified Bessel function In(x).
|
|
188
186
|
*
|
|
@@ -410,7 +408,6 @@ export function BITRSHIFT(number: any, shift_amount: any): number | Error;
|
|
|
410
408
|
* @returns
|
|
411
409
|
*/
|
|
412
410
|
export function BITXOR(number1: any, number2: any): number | Error;
|
|
413
|
-
export function BLOCKSCOUT(...args: any[]): Promise<any>;
|
|
414
411
|
/**
|
|
415
412
|
* Converts a number into a text representation with the given radix (base).
|
|
416
413
|
*
|
|
@@ -608,7 +605,6 @@ export function CHITEST(actual_range: any, expected_range: any, ...args: any[]):
|
|
|
608
605
|
* @returns
|
|
609
606
|
*/
|
|
610
607
|
export function CHOOSE(...args: any[]): any;
|
|
611
|
-
export function CIRCLES(...args: any[]): Promise<any>;
|
|
612
608
|
/**
|
|
613
609
|
* Removes all nonprintable characters from text.
|
|
614
610
|
*
|
|
@@ -627,25 +623,6 @@ export function CLEAN(text: any): any;
|
|
|
627
623
|
* @returns
|
|
628
624
|
*/
|
|
629
625
|
export function CODE(text: any): any;
|
|
630
|
-
export function COINGECKO(...args: any[]): Promise<{
|
|
631
|
-
message: string;
|
|
632
|
-
functionName: any;
|
|
633
|
-
type: string;
|
|
634
|
-
apiKeyName?: undefined;
|
|
635
|
-
reason?: undefined;
|
|
636
|
-
} | {
|
|
637
|
-
message: string;
|
|
638
|
-
functionName: any;
|
|
639
|
-
type: string;
|
|
640
|
-
apiKeyName: any;
|
|
641
|
-
reason?: undefined;
|
|
642
|
-
} | {
|
|
643
|
-
message: string;
|
|
644
|
-
functionName: any;
|
|
645
|
-
type: string;
|
|
646
|
-
reason: any;
|
|
647
|
-
apiKeyName?: undefined;
|
|
648
|
-
} | {}[]>;
|
|
649
626
|
/**
|
|
650
627
|
* Returns the column number of a reference.
|
|
651
628
|
*
|
|
@@ -1125,25 +1102,6 @@ export function DEC2OCT(number: any, places: any): any;
|
|
|
1125
1102
|
* @returns
|
|
1126
1103
|
*/
|
|
1127
1104
|
export function DECIMAL(text: any, radix: any, ...args: any[]): any;
|
|
1128
|
-
export function DEFILLAMA(...args: any[]): Promise<any[] | {
|
|
1129
|
-
message: string;
|
|
1130
|
-
functionName: any;
|
|
1131
|
-
type: string;
|
|
1132
|
-
apiKeyName?: undefined;
|
|
1133
|
-
reason?: undefined;
|
|
1134
|
-
} | {
|
|
1135
|
-
message: string;
|
|
1136
|
-
functionName: any;
|
|
1137
|
-
type: string;
|
|
1138
|
-
apiKeyName: any;
|
|
1139
|
-
reason?: undefined;
|
|
1140
|
-
} | {
|
|
1141
|
-
message: string;
|
|
1142
|
-
functionName: any;
|
|
1143
|
-
type: string;
|
|
1144
|
-
reason: any;
|
|
1145
|
-
apiKeyName?: undefined;
|
|
1146
|
-
}>;
|
|
1147
1105
|
/**
|
|
1148
1106
|
* Converts radians to degrees.
|
|
1149
1107
|
*
|
|
@@ -1292,25 +1250,6 @@ export function DSTDEVP(database: any, field: any, criteria: any): number | Erro
|
|
|
1292
1250
|
* @returns
|
|
1293
1251
|
*/
|
|
1294
1252
|
export function DSUM(database: any, field: any, criteria: any): number | Error;
|
|
1295
|
-
export function DUNE(...args: any[]): Promise<{
|
|
1296
|
-
message: string;
|
|
1297
|
-
functionName: any;
|
|
1298
|
-
type: string;
|
|
1299
|
-
apiKeyName?: undefined;
|
|
1300
|
-
reason?: undefined;
|
|
1301
|
-
} | {
|
|
1302
|
-
message: string;
|
|
1303
|
-
functionName: any;
|
|
1304
|
-
type: string;
|
|
1305
|
-
apiKeyName: any;
|
|
1306
|
-
reason?: undefined;
|
|
1307
|
-
} | {
|
|
1308
|
-
message: string;
|
|
1309
|
-
functionName: any;
|
|
1310
|
-
type: string;
|
|
1311
|
-
reason: any;
|
|
1312
|
-
apiKeyName?: undefined;
|
|
1313
|
-
} | {}[]>;
|
|
1314
1253
|
/**
|
|
1315
1254
|
* Estimates variance based on a sample from selected database entries.
|
|
1316
1255
|
*
|
|
@@ -1587,27 +1526,6 @@ export namespace FINV { }
|
|
|
1587
1526
|
* @returns
|
|
1588
1527
|
*/
|
|
1589
1528
|
export function FINVRT(probability: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): any;
|
|
1590
|
-
export function FIREFLY(...args: any[]): Promise<{
|
|
1591
|
-
message: string;
|
|
1592
|
-
functionName: any;
|
|
1593
|
-
type: string;
|
|
1594
|
-
apiKeyName?: undefined;
|
|
1595
|
-
reason?: undefined;
|
|
1596
|
-
} | {
|
|
1597
|
-
message: string;
|
|
1598
|
-
functionName: any;
|
|
1599
|
-
type: string;
|
|
1600
|
-
apiKeyName: any;
|
|
1601
|
-
reason?: undefined;
|
|
1602
|
-
} | {
|
|
1603
|
-
message: string;
|
|
1604
|
-
functionName: any;
|
|
1605
|
-
type: string;
|
|
1606
|
-
reason: any;
|
|
1607
|
-
apiKeyName?: undefined;
|
|
1608
|
-
} | {
|
|
1609
|
-
platform: any;
|
|
1610
|
-
}[]>;
|
|
1611
1529
|
/**
|
|
1612
1530
|
* Returns the Fisher transformation.
|
|
1613
1531
|
*
|
|
@@ -1869,7 +1787,6 @@ export function GEOMEAN(...args: any[]): any;
|
|
|
1869
1787
|
* @returns
|
|
1870
1788
|
*/
|
|
1871
1789
|
export function GESTEP(number: any, step: any): any;
|
|
1872
|
-
export function GNOSIS(...args: any[]): Promise<any>;
|
|
1873
1790
|
/**
|
|
1874
1791
|
* Returns values along an exponential trend.
|
|
1875
1792
|
*
|
|
@@ -3312,7 +3229,6 @@ export function POWER(number: any, power: any): any;
|
|
|
3312
3229
|
* @returns
|
|
3313
3230
|
*/
|
|
3314
3231
|
export function PPMT(rate: any, per: any, nper: any, pv: any, fv: any, type: any): number | Error;
|
|
3315
|
-
export function PRICE(...args: any[]): Promise<any>;
|
|
3316
3232
|
/**
|
|
3317
3233
|
* Returns the price per $100 face value of a discounted security.
|
|
3318
3234
|
*
|
|
@@ -3622,7 +3538,6 @@ export function RRI(nper: any, pv: any, fv: any): number | Error;
|
|
|
3622
3538
|
* @returns
|
|
3623
3539
|
*/
|
|
3624
3540
|
export function RSQ(known_y: any, known_x: any): number | Error;
|
|
3625
|
-
export function SAFE(...args: any[]): Promise<any>;
|
|
3626
3541
|
/**
|
|
3627
3542
|
* Finds one text value within another (not case-sensitive)
|
|
3628
3543
|
*
|
|
@@ -3759,7 +3674,6 @@ export function SLOPE(known_y: any, known_x: any): number | Error;
|
|
|
3759
3674
|
* @returns
|
|
3760
3675
|
*/
|
|
3761
3676
|
export function SMALL(array: any, k: any): any;
|
|
3762
|
-
export function SMARTCONTRACT(...args: any[]): Promise<any>;
|
|
3763
3677
|
/**
|
|
3764
3678
|
* Returns a sorted array of the elements in an array. The returned array is the same shape as the provided array argument.
|
|
3765
3679
|
*
|
|
@@ -4037,7 +3951,6 @@ export namespace T {
|
|
|
4037
3951
|
*/
|
|
4038
3952
|
function TEST(array1: any, array2: any): number | Error;
|
|
4039
3953
|
}
|
|
4040
|
-
export function TALLY(...args: any[]): Promise<any>;
|
|
4041
3954
|
/**
|
|
4042
3955
|
* Returns the tangent of a number.
|
|
4043
3956
|
*
|
|
@@ -4294,7 +4207,6 @@ export function UNICODE(text: any): any;
|
|
|
4294
4207
|
* @returns
|
|
4295
4208
|
*/
|
|
4296
4209
|
export function UNIQUE(...args: any[]): any[];
|
|
4297
|
-
export function UNISWAP(...args: any[]): Promise<any>;
|
|
4298
4210
|
/**
|
|
4299
4211
|
* Converts text to uppercase.
|
|
4300
4212
|
*
|
|
@@ -4381,7 +4293,6 @@ export function VARS(...args: any[]): number;
|
|
|
4381
4293
|
* @returns
|
|
4382
4294
|
*/
|
|
4383
4295
|
export function VLOOKUP(lookup_value: any, table_array: any, col_index_num: any, range_lookup: any): Error;
|
|
4384
|
-
export function WALLET(...args: any[]): Promise<any>;
|
|
4385
4296
|
/**
|
|
4386
4297
|
* Converts a serial number to a day of the week.
|
|
4387
4298
|
*
|
|
@@ -4532,25 +4443,6 @@ export function YEAR(serial_number: any): any;
|
|
|
4532
4443
|
* @returns
|
|
4533
4444
|
*/
|
|
4534
4445
|
export function YEARFRAC(start_date: any, end_date: any, basis: any): number | Error;
|
|
4535
|
-
export function YIELD(...args: any[]): Promise<any[] | {
|
|
4536
|
-
message: string;
|
|
4537
|
-
functionName: any;
|
|
4538
|
-
type: string;
|
|
4539
|
-
apiKeyName?: undefined;
|
|
4540
|
-
reason?: undefined;
|
|
4541
|
-
} | {
|
|
4542
|
-
message: string;
|
|
4543
|
-
functionName: any;
|
|
4544
|
-
type: string;
|
|
4545
|
-
apiKeyName: any;
|
|
4546
|
-
reason?: undefined;
|
|
4547
|
-
} | {
|
|
4548
|
-
message: string;
|
|
4549
|
-
functionName: any;
|
|
4550
|
-
type: string;
|
|
4551
|
-
reason: any;
|
|
4552
|
-
apiKeyName?: undefined;
|
|
4553
|
-
}>;
|
|
4554
4446
|
export namespace Z {
|
|
4555
4447
|
/**
|
|
4556
4448
|
* Returns the one-tailed probability-value of a z-test.
|