@fileverse-dev/formulajs 4.4.11-mod-19-patch-4 → 4.4.11-mod-18-patch-20

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.
@@ -993,7 +993,7 @@ export function DAVERAGE(database: any, field: any, criteria: any): number | Err
993
993
  * @param {*} serial_number The date of the day you are trying to find.
994
994
  * @returns
995
995
  */
996
- export function DAY(serial_number: any): number | Error;
996
+ export function DAY(serial_number: any): any;
997
997
  /**
998
998
  * Returns the number of days between two dates.
999
999
  *
@@ -1293,7 +1293,6 @@ export function EDATE(start_date: any, months: any): any;
1293
1293
  * @returns
1294
1294
  */
1295
1295
  export function EFFECT(nominal_rate: any, npery: any): number | Error;
1296
- export function EOA(address: any, categories: any, chain: any, startTime: any, endTime: any): Promise<any>;
1297
1296
  /**
1298
1297
  * Returns the serial number of the last day of the month before or after a specified number of months.
1299
1298
  *
@@ -2234,7 +2233,6 @@ export function IRR(values: any, guess: any): any;
2234
2233
  * @returns
2235
2234
  */
2236
2235
  export function ISBLANK(value: any): boolean;
2237
- export function ISDATE(value: any): boolean;
2238
2236
  /**
2239
2237
  * Returns TRUE if the value is any error value except #N/A.
2240
2238
  *
@@ -2805,18 +2803,6 @@ export namespace NETWORKDAYS {
2805
2803
  * @returns
2806
2804
  */
2807
2805
  export function NETWORKDAYSINTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
2808
- /**
2809
- * Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days.
2810
- *
2811
- * Category: Date and time
2812
- *
2813
- * @param {*} start_date The date for from which the difference is to be computed. The start_date can be earlier than, the same as, or later than the end_date.
2814
- * @param {*} end_date The date for to which the difference is to be computed.
2815
- * @param {*} weekend Optional. Indicates the days of the week that are weekend days and are not included in the number of whole working days between start_date and end_date. Weekend is a weekend number or string that specifies when weekends occur. Weekend number values indicate the following weekend days:
2816
- * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
2817
- * @returns
2818
- */
2819
- export function NETWORKDAYS_INTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
2820
2806
  /**
2821
2807
  * Returns the annual nominal interest rate.
2822
2808
  *
@@ -3015,6 +3001,7 @@ export function ODD(number: any): number | Error;
3015
3001
  * @returns
3016
3002
  */
3017
3003
  export function OR(...args: any[]): any;
3004
+ export function OX(address: any, categories: any, chain: any, startTime: any, endTime: any): Promise<any>;
3018
3005
  /**
3019
3006
  * Returns the number of periods required by an investment to reach a specified value.
3020
3007
  *
@@ -3170,6 +3157,7 @@ export function PI(): number;
3170
3157
  * @returns
3171
3158
  */
3172
3159
  export function PMT(rate: any, nper: any, pv: any, fv: any, type: any): number | Error;
3160
+ export function PNL(...args: any[]): number;
3173
3161
  export namespace POISSON {
3174
3162
  /**
3175
3163
  * Returns the Poisson distribution.
@@ -3275,7 +3263,6 @@ export function PROPER(text: any): any;
3275
3263
  * @returns
3276
3264
  */
3277
3265
  export function PV(rate: any, per: any, pmt: any, fv: any, type: any): number | Error;
3278
- export function PnL(...args: any[]): number;
3279
3266
  export namespace QUARTILE {
3280
3267
  /**
3281
3268
  * Returns the quartile of the data set, based on percentile values from 0..1, exclusive.
@@ -3528,6 +3515,7 @@ export function RRI(nper: any, pv: any, fv: any): number | Error;
3528
3515
  * @returns
3529
3516
  */
3530
3517
  export function RSQ(known_y: any, known_x: any): number | Error;
3518
+ export function SAFE(address: any, utility: any, chain: any, limit: any, offset: any): Promise<any>;
3531
3519
  /**
3532
3520
  * Finds one text value within another (not case-sensitive)
3533
3521
  *
@@ -4054,7 +4042,7 @@ export function TEXTJOIN(delimiter: any, ignore_empty: any, ...args: any): any;
4054
4042
  * @param {*} second A number from 0 to 32767 representing the second. Any value greater than 59 will be converted to hours, minutes, and seconds. For example, TIME(0,0,2000) = TIME(0,33,22) = .023148 or 12:33:20 AM
4055
4043
  * @returns
4056
4044
  */
4057
- export function TIME(hour: any, minute: any, second: any): string | Error;
4045
+ export function TIME(hour: any, minute: any, second: any): number | Error;
4058
4046
  /**
4059
4047
  * Converts a time in the form of text to a serial number.
4060
4048
  *
@@ -4093,7 +4081,7 @@ export namespace TINV {
4093
4081
  *
4094
4082
  * @returns
4095
4083
  */
4096
- export function TODAY(): string;
4084
+ export function TODAY(): number | Date;
4097
4085
  /**
4098
4086
  * Returns the transpose of an array.
4099
4087
  *
@@ -4338,7 +4326,7 @@ export function WEIBULLDIST(x: any, alpha: any, beta: any, cumulative: any): num
4338
4326
  * @param {*} holidays Optional. An optional list of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of values that contain the dates or an array constant of the serial numbers that represent the dates.
4339
4327
  * @returns
4340
4328
  */
4341
- export function WORKDAY(start_date: any, days: any, holidays: any): string | Error;
4329
+ export function WORKDAY(start_date: any, days: any, holidays: any): any;
4342
4330
  export namespace WORKDAY {
4343
4331
  /**
4344
4332
  * Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days.
@@ -4351,7 +4339,7 @@ export namespace WORKDAY {
4351
4339
  * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
4352
4340
  * @returns
4353
4341
  */
4354
- function INTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4342
+ function INTL(start_date: any, days: any, weekend: any, holidays: any): any;
4355
4343
  }
4356
4344
  /**
4357
4345
  * Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days.
@@ -4364,19 +4352,7 @@ export namespace WORKDAY {
4364
4352
  * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
4365
4353
  * @returns
4366
4354
  */
4367
- export function WORKDAYINTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4368
- /**
4369
- * Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days.
4370
- *
4371
- * Category: Date and time
4372
- *
4373
- * @param {*} start_date The start date, truncated to integer.
4374
- * @param {*} days The number of workdays before or after the start_date. A positive value yields a future date; a negative value yields a past date; a zero value yields the start_date. Day-offset is truncated to an integer.
4375
- * @param {*} weekend Optional. Indicates the days of the week that are weekend days and are not considered working days. Weekend is a weekend number or string that specifies when weekends occur. Weekend number values indicate the following weekend days:
4376
- * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
4377
- * @returns
4378
- */
4379
- export function WORKDAY_INTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4355
+ export function WORKDAYINTL(start_date: any, days: any, weekend: any, holidays: any): any;
4380
4356
  /**
4381
4357
  * Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic.
4382
4358
  *
@@ -4486,7 +4462,6 @@ declare var symbols: Readonly<{
4486
4462
  declare var date: Readonly<{
4487
4463
  __proto__: any;
4488
4464
  dateToSerial: typeof dateToSerial;
4489
- formatDate: typeof formatDate;
4490
4465
  readonly returnSerial: boolean;
4491
4466
  serialToDate: typeof serialToDate;
4492
4467
  useDate: typeof useDate;
@@ -4585,7 +4560,6 @@ declare function NE(value1: any, value2: any, ...args: any[]): boolean | Error;
4585
4560
  */
4586
4561
  declare function POW(base: any, exponent: any, ...args: any[]): any;
4587
4562
  declare function dateToSerial(date: any): number;
4588
- declare function formatDate(date: any): string;
4589
4563
  declare function serialToDate(serial: any): Date;
4590
4564
  declare function useDate(): void;
4591
4565
  declare function useSerial(): void;