@sheetxl/formulas 0.8.0-beta.1 → 0.8.0-beta.3
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/README.md +15 -22
- package/browser/cjs/B6vy56yEA1I3B74O.cjs +1 -0
- package/browser/cjs/BcROQ4pvVajDQ1em.cjs +1 -0
- package/browser/cjs/{CRx1WvmgBjT8WVyB.cjs → C0g87ndP2zMUbX6f.cjs} +1 -1
- package/browser/cjs/C9q3zr8iCIoYDrdA.cjs +1 -0
- package/browser/cjs/CVHc_cJddJk7J3Zt.cjs +1 -0
- package/browser/cjs/{EeOVMRq7TuptFKTc.cjs → DF4l8xrxkcLkgExp.cjs} +1 -1
- package/browser/cjs/{Du4jBiFxRIF1OjD4.cjs → Dtxj9JR14A-uliu5.cjs} +1 -1
- package/browser/cjs/{CpJJh4UnFl1_qFui.cjs → Dx7GQ4ALtNG3kshu.cjs} +1 -1
- package/browser/cjs/index.cjs +1 -1
- package/{node/esm/Crb70T1Sp1S4uzq4.mjs → browser/esm/2fdplP7jj4bf9aCO.mjs} +2 -2
- package/browser/esm/{Bsb5i9Jq-Q8RTmvi.mjs → B7oeajl5_4jZhg1U.mjs} +1 -1
- package/browser/esm/{C7mAHEhFYDwSEU6O.mjs → BHET8V48YsNHt6OQ.mjs} +1 -1
- package/browser/esm/{DKFABgVKeBMflym9.mjs → BTdrlwsC44d78M6y.mjs} +1 -1
- package/browser/esm/{DtqLXxtPFISlNoUd.mjs → Bn3FsWESsJTzyaf4.mjs} +1 -1
- package/{node/esm/CCGjvL3YYwY09qF-.mjs → browser/esm/Bo7Cdsg6xFJcfM2I.mjs} +1 -1
- package/{node/esm/D2miaIrotHbpdWei.mjs → browser/esm/C-oFWt8pnPP-GVRA.mjs} +1 -1
- package/{node/esm/CkG4LZN-kb7plKXG.mjs → browser/esm/C5BfcrpiUcRVOBhm.mjs} +69 -4
- package/{node/esm/C9jpXFBeugwmOTbx.mjs → browser/esm/CCVWnizQrKmoAuCq.mjs} +2 -2
- package/browser/esm/{B7750ljsJF3qA9kU.mjs → COY1_1oXpyxOqH8F.mjs} +37 -3
- package/{node/esm/CG1Fn8D-2DrQZoD5.mjs → browser/esm/COxwtE73KoR2iWjR.mjs} +1 -1
- package/{node/esm/HgVmqQQhKQ_2v0HD.mjs → browser/esm/CiV3-7Z2N5XTPGpW.mjs} +2 -2
- package/{node/esm/CWAtVXxcIz86XLzE.mjs → browser/esm/Cvqs42hxCdRyGkOU.mjs} +1 -1
- package/browser/esm/{BYRjnggsufwbb27W.mjs → CyZAJHWFmctZ67Gr.mjs} +1 -1
- package/browser/esm/{-f-RKKojiLg94hp9.mjs → D0bH0XCUaTcJPN0I.mjs} +51 -11
- package/{node/esm/BzNFsi4RXuJrn_1n.mjs → browser/esm/D47uFhCNkVeulQHC.mjs} +1 -1
- package/{node/esm/Ct1gudv1TKk-5FMO.mjs → browser/esm/DFmMjSD0S1dmLV9j.mjs} +48 -2
- package/browser/esm/{B3pEie3jQN0SvV5B.mjs → DQFv41Ho5OgGtsO6.mjs} +1 -1
- package/browser/esm/{BR2ai1V5dGPphpRf.mjs → DZQP6n94wjUf7gh-.mjs} +2 -5
- package/browser/esm/{Cdl7ZalV6WPZHHRE.mjs → dInAtbi5okqOaY-T.mjs} +1 -1
- package/browser/esm/index.mjs +4863 -5072
- package/browser/esm/{Cyvobf2wi0quDD3U.mjs → jigjASYVbU6Fnqi2.mjs} +1 -1
- package/browser/esm/{CltdofO5ik8g_wQ8.mjs → lGpYdO1T9FmC6pk7.mjs} +1 -1
- package/browser/esm/{BM1YhvA2ppUZ3QLB.mjs → o_58F5W4flwhkBQc.mjs} +1 -1
- package/browser/esm/{CVv3DuciDQrnFFeu.mjs → vtj_jhVSTyj6cY8v.mjs} +1 -1
- package/browser/esm/{0amsHACCOHE_JjXI.mjs → y5kSs5KEnqsOSkuQ.mjs} +1 -1
- package/licenses/dependencies.txt +0 -33
- package/node/esm/{DxRD19RVMzj2YvKF.mjs → 2KrV5IunXEqYRPKJ.mjs} +1 -1
- package/{browser/esm/Crb70T1Sp1S4uzq4.mjs → node/esm/2fdplP7jj4bf9aCO.mjs} +2 -2
- package/{browser/esm/Ct1gudv1TKk-5FMO.mjs → node/esm/B8Q2nBHA3421d2De.mjs} +48 -2
- package/node/esm/{C7mAHEhFYDwSEU6O.mjs → BHET8V48YsNHt6OQ.mjs} +1 -1
- package/node/esm/{DKFABgVKeBMflym9.mjs → BTdrlwsC44d78M6y.mjs} +1 -1
- package/node/esm/{DtqLXxtPFISlNoUd.mjs → Bn3FsWESsJTzyaf4.mjs} +1 -1
- package/{browser/esm/CCGjvL3YYwY09qF-.mjs → node/esm/Bo7Cdsg6xFJcfM2I.mjs} +1 -1
- package/node/esm/{ZUay0bTGgyrF8e04.mjs → Bx-wAScb1XcOsbcE.mjs} +1 -1
- package/{browser/esm/D2miaIrotHbpdWei.mjs → node/esm/C-oFWt8pnPP-GVRA.mjs} +1 -1
- package/{browser/esm/CkG4LZN-kb7plKXG.mjs → node/esm/C5BfcrpiUcRVOBhm.mjs} +69 -4
- package/{browser/esm/C9jpXFBeugwmOTbx.mjs → node/esm/CCVWnizQrKmoAuCq.mjs} +2 -2
- package/node/esm/{B7750ljsJF3qA9kU.mjs → COY1_1oXpyxOqH8F.mjs} +37 -3
- package/{browser/esm/CG1Fn8D-2DrQZoD5.mjs → node/esm/COxwtE73KoR2iWjR.mjs} +1 -1
- package/{browser/esm/HgVmqQQhKQ_2v0HD.mjs → node/esm/CiV3-7Z2N5XTPGpW.mjs} +2 -2
- package/node/esm/{DDajoVNkJB39_Fkx.mjs → CqHyaF_3jzclX-4h.mjs} +1 -1
- package/{browser/esm/CWAtVXxcIz86XLzE.mjs → node/esm/Cvqs42hxCdRyGkOU.mjs} +1 -1
- package/{browser/esm/BzNFsi4RXuJrn_1n.mjs → node/esm/D47uFhCNkVeulQHC.mjs} +1 -1
- package/node/esm/{B8rSUcOwH6g4MUgm.mjs → DEvaxgU5D42eGtON.mjs} +1 -1
- package/node/esm/{BR2ai1V5dGPphpRf.mjs → DZQP6n94wjUf7gh-.mjs} +2 -5
- package/node/esm/{Cdl7ZalV6WPZHHRE.mjs → dInAtbi5okqOaY-T.mjs} +1 -1
- package/node/esm/index.mjs +5525 -3899
- package/node/esm/{-f-RKKojiLg94hp9.mjs → jVWpjaeDtzGmzWIs.mjs} +51 -11
- package/node/esm/{Cyvobf2wi0quDD3U.mjs → jigjASYVbU6Fnqi2.mjs} +1 -1
- package/node/esm/{CltdofO5ik8g_wQ8.mjs → lGpYdO1T9FmC6pk7.mjs} +1 -1
- package/node/esm/{2TCIoMd-SYs6i4-N.mjs → ly86gfj1I6wMAUqu.mjs} +1 -1
- package/node/esm/{CVv3DuciDQrnFFeu.mjs → vtj_jhVSTyj6cY8v.mjs} +1 -1
- package/package.json +4 -5
- package/types/src/.generated/decl/dateTime/Date.decl.d.ts +2 -1
- package/types/src/.generated/decl/information/Information.decl.d.ts +2 -1
- package/types/src/.generated/decl/lookupReference/Reference.decl.d.ts +2 -1
- package/types/src/.generated/decl/mathTrig/Math.decl.d.ts +2 -1
- package/types/src/.generated/desc/dateTime/Date.desc.d.ts +2 -1
- package/types/src/.generated/desc/information/Information.desc.d.ts +2 -1
- package/types/src/.generated/desc/lookupReference/Reference.desc.d.ts +2 -1
- package/types/src/.generated/desc/mathTrig/Math.desc.d.ts +2 -1
- package/types/src/_utils/AValues.d.ts +30 -0
- package/types/src/_utils/AggregateIFS.d.ts +3 -1
- package/types/src/_utils/Arithmetic.d.ts +36 -0
- package/types/src/_utils/Combinatorics.d.ts +20 -0
- package/types/src/_utils/Distributions.d.ts +94 -0
- package/types/src/_utils/Errors.d.ts +1 -20
- package/types/src/_utils/FirstCell.d.ts +32 -0
- package/types/src/_utils/Matrix.d.ts +31 -0
- package/types/src/_utils/SpecialFunctions.d.ts +91 -0
- package/types/src/_utils/X87.d.ts +28 -0
- package/types/src/database/Database.d.ts +25 -25
- package/types/src/dateTime/Date.d.ts +250 -41
- package/types/src/engineering/Bessel.d.ts +9 -9
- package/types/src/engineering/Bitwise.d.ts +35 -35
- package/types/src/engineering/Convert.d.ts +3 -3
- package/types/src/engineering/Engineering.d.ts +5 -5
- package/types/src/engineering/Error.d.ts +9 -9
- package/types/src/engineering/Imaginary.d.ts +54 -54
- package/types/src/information/Information.d.ts +118 -49
- package/types/src/japanese/Date.d.ts +2 -2
- package/types/src/japanese/Text.d.ts +1 -1
- package/types/src/logical/Logical.d.ts +45 -39
- package/types/src/lookupReference/GroupBy.d.ts +4 -4
- package/types/src/lookupReference/PivotBy.d.ts +4 -4
- package/types/src/lookupReference/Reference.d.ts +212 -86
- package/types/src/mathTrig/Math.d.ts +499 -152
- package/types/src/mathTrig/Trig.d.ts +26 -22
- package/types/src/operators/Operators.d.ts +15 -15
- package/types/src/statistical/Distribution.d.ts +157 -161
- package/types/src/statistical/Statistical.d.ts +37 -37
- package/types/src/testing/Testing.d.ts +2 -2
- package/types/src/text/Text.d.ts +119 -54
- package/types/src/thai/Text.d.ts +1 -1
- package/types/src/web/FilterXML.d.ts +1 -1
- package/types/src/web/Web.d.ts +2 -2
- package/browser/cjs/49_x589Na12sizKK.cjs +0 -1
- package/browser/cjs/C9C-pr-T_ThweQX9.cjs +0 -1
- package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +0 -1
- package/browser/cjs/Kvn916ebqGc4t6hv.cjs +0 -1
package/types/src/text/Text.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Scalar, IRange, AcceptError, Flatten, Omittable } from '@sheetxl/primitives';
|
|
1
|
+
import { Scalar, IRange, AcceptError, Flatten, Omittable, Repeating } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
+
* Converts a string to full-width characters to half-width. Uses the double-byte character set (DBCS).
|
|
3
4
|
* @deprecated DBCS
|
|
4
|
-
* @summary Converts a string to full-width characters to half-width. Uses the double-byte character set (DBCS).
|
|
5
5
|
* @param text is a text or a reference to a cell containing text.
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
@@ -10,47 +10,47 @@ import { Scalar, IRange, AcceptError, Flatten, Omittable } from '@sheetxl/primit
|
|
|
10
10
|
*/
|
|
11
11
|
export declare function ASC(text: string): string;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Returns a text representation of an array.
|
|
14
14
|
* @param array the array to represent as text.
|
|
15
15
|
* @param format 0 for relaxed format, 1 for strict format.
|
|
16
16
|
*/
|
|
17
|
-
export declare function ARRAYTOTEXT(array:
|
|
17
|
+
export declare function ARRAYTOTEXT(array: IRange, format?: number): string | null;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Returns the character specified by the code number from the character set for your computer.
|
|
20
20
|
* @param number is a number between 1 and 255 specifying which character you want.
|
|
21
21
|
*/
|
|
22
22
|
export declare function CHAR(number: number): string;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Removes all nonprintable characters from text.
|
|
25
25
|
* @param text is the text you want to clean.
|
|
26
26
|
*/
|
|
27
27
|
export declare function CLEAN(text: string): string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Returns the Unicode value of the first character in a text string.
|
|
30
30
|
* @param text is the text string whose Unicode value you want.
|
|
31
31
|
*/
|
|
32
32
|
export declare function CODE(text: string): number;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Concatenates a list or range of text strings.
|
|
35
35
|
* @param text are 1 to 252 text strings or ranges to be joined.
|
|
36
36
|
*/
|
|
37
|
-
export declare function CONCAT(text: IRange<string>
|
|
37
|
+
export declare function CONCAT(text: Repeating<IRange<string>, 254>): string;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Joins several text strings into one text string.
|
|
40
40
|
* @param text is the first text string or range to be joined.
|
|
41
41
|
* @category Compatibility
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
44
|
export declare function CONCATENATE(text: AcceptError<IRange>[]): Scalar;
|
|
45
45
|
/**
|
|
46
|
+
* Detects the language of a given text.
|
|
46
47
|
* @hidden Unimplemented Connectivity
|
|
47
|
-
* @summary Detects the language of a given text.
|
|
48
48
|
* @param text is the text to detect the language for.
|
|
49
49
|
*/
|
|
50
50
|
export declare function DETECTLANGUAGE(text: string): Scalar;
|
|
51
51
|
/**
|
|
52
|
+
* Changes half-width characters to full-width characters. Uses the double-byte character set (DBCS).
|
|
52
53
|
* @deprecated DBCS
|
|
53
|
-
* @summary Changes half-width characters to full-width characters. Uses the double-byte character set (DBCS).
|
|
54
54
|
* @param text is a text or a reference to a cell containing text.
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
@@ -59,103 +59,151 @@ export declare function DETECTLANGUAGE(text: string): Scalar;
|
|
|
59
59
|
*/
|
|
60
60
|
export declare function DBCS(text: string): string;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Converts a number to text in currency format.
|
|
63
63
|
* @param number is the number to convert.
|
|
64
64
|
* @param decimals is the number of digits to the right of the decimal point.
|
|
65
65
|
*/
|
|
66
66
|
export declare function DOLLAR(number: number, decimals?: number): string;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Checks whether two text strings are exactly the same, and returns TRUE or FALSE. EXACT is case-sensitive.
|
|
69
69
|
* @param text1 is the first text string.
|
|
70
70
|
* @param text2 is the second text string.
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* Both sides are rendered as text before comparing, so `EXACT(1,"1")` is TRUE and
|
|
74
|
+
* `EXACT(TRUE,"TRUE")` is TRUE, while a blank cell equals the empty string. The comparison is by
|
|
75
|
+
* code unit and does no Unicode normalization: a composed character and its decomposed spelling
|
|
76
|
+
* look identical and are not equal.
|
|
71
77
|
*/
|
|
72
78
|
export declare function EXACT(text1: string, text2: string): boolean;
|
|
73
79
|
/**
|
|
74
|
-
*
|
|
80
|
+
* Returns the starting position of one text string within another text string. FIND is case-sensitive.
|
|
75
81
|
* @param findText Returns the starting position of one text string within another text string. FIND is case-sensitive.
|
|
76
82
|
* @param withinText is the text you want to search.
|
|
77
83
|
* @param startNum specifies the character at which to start the search. The first character in withinText is character number 1.
|
|
84
|
+
*
|
|
85
|
+
* @remarks
|
|
86
|
+
* Case-sensitive, and wildcards are literal here — `FIND("*","a*b")` is 2 — which is the
|
|
87
|
+
* difference from SEARCH. Positions are in code points, so they compose with LEN and MID over
|
|
88
|
+
* astral text. `startNum` may be one past the end of the text, which matters only for an empty
|
|
89
|
+
* `findText`: that matches wherever it starts and reports it (`FIND("","hello",6)` is 6), while a
|
|
90
|
+
* real one simply finds nothing. Outside that bound, and when the text is not found, the answer is
|
|
91
|
+
* #VALUE!. A fractional `startNum` is shifted before truncating, as LEFT's count is.
|
|
78
92
|
*/
|
|
79
93
|
export declare function FIND(findText: string, withinText: string, startNum?: number): number;
|
|
80
94
|
/**
|
|
95
|
+
* Finds the starting position of one text string with another text string. FINDB is case-sensitive. Use with double-byte characters.
|
|
81
96
|
* @deprecated DBCS
|
|
82
|
-
* @summary Finds the starting position of one text string with another text string. FINDB is case-sensitive. Use with double-byte characters.
|
|
83
97
|
* @param findText is the text you want to find.
|
|
84
98
|
* @param withinText is the text you want to search.
|
|
85
99
|
* @param startNum is the position in withinText to start searching.
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* {@link FIND} with its positions and its start counted in UTF-16 units, which differs only where
|
|
103
|
+
* the text holds an astral character.
|
|
86
104
|
*/
|
|
87
105
|
export declare function FINDB(findText: string, withinText: string, startNum?: number): number;
|
|
88
106
|
/**
|
|
89
|
-
*
|
|
107
|
+
* Rounds a number to the specified number of decimals and returns the result as text with or without commas
|
|
90
108
|
* @param number is the number you want to round and convert to text.
|
|
91
109
|
* @param decimals is the number of digits to the right of the decimal point.
|
|
92
110
|
* @param noCommas is a logical value: do not display commas in the returned text = TRUE; do display commas in the returned text = FALSE.
|
|
93
111
|
*/
|
|
94
112
|
export declare function FIXED(number: number, decimals?: Omittable<number>, noCommas?: boolean): string;
|
|
95
113
|
/**
|
|
96
|
-
*
|
|
114
|
+
* Concatenates elements of an array or range with a delimiter.
|
|
97
115
|
* @param delimiter The delimiter to place between values.
|
|
98
116
|
* @param value The array or range to join.
|
|
99
117
|
* @category Sheets
|
|
100
118
|
*/
|
|
101
119
|
export declare function JOIN(delimiter: string, value: IRange<string>): Scalar;
|
|
102
120
|
/**
|
|
103
|
-
*
|
|
121
|
+
* Returns the specified number of characters from the start of a text string.
|
|
104
122
|
* @param text is the text string from which you want to extract characters.
|
|
105
123
|
* @param numChars specifies how many characters you want LEFT to extract.
|
|
124
|
+
*
|
|
125
|
+
* @remarks
|
|
126
|
+
* A character is a CODE POINT, so an astral character is one and the cut never splits it. A
|
|
127
|
+
* negative count is #VALUE! at any magnitude (`-1E-9` included); a count of zero, or one that
|
|
128
|
+
* rounds down to zero, is the empty string; a count past the end is the whole text, with no upper
|
|
129
|
+
* limit — where MID has one. A fractional count is shifted by a small constant before truncating,
|
|
130
|
+
* which is why `LEFT("hello",4.9999999)` is the whole word and `LEFT("hello",4.999999)` is "hell".
|
|
106
131
|
*/
|
|
107
132
|
export declare function LEFT(text: string, numChars?: number): string;
|
|
108
133
|
/**
|
|
134
|
+
* Returns the leftmost numBytes characters from text. Uses double-byte characters.
|
|
109
135
|
* @deprecated DBCS
|
|
110
|
-
* @summary Returns the leftmost numBytes characters from text. Uses double-byte characters.
|
|
111
136
|
* @param text is the text string from which you want to extract characters.
|
|
112
137
|
* @param numBytes is the number of bytes to extract.
|
|
113
138
|
*/
|
|
114
139
|
export declare function LEFTB(text: string, numBytes?: number): string;
|
|
115
140
|
/**
|
|
116
|
-
*
|
|
141
|
+
* Returns the number of characters in a text string.
|
|
117
142
|
* @param text is the text whose length you want to find. Spaces count as characters.
|
|
143
|
+
*
|
|
144
|
+
* @remarks
|
|
145
|
+
* Counts CODE POINTS, so an astral character counts once. Numbers and booleans are rendered first,
|
|
146
|
+
* in the same General form a cell shows (`LEN(1/3)` is 17, `LEN(TRUE)` is 4), and a blank cell is
|
|
147
|
+
* 0. An unpaired high surrogate at the very end of the text counts as nothing — it is half a
|
|
148
|
+
* character; one anywhere else counts.
|
|
118
149
|
*/
|
|
119
150
|
export declare function LEN(text: string): number;
|
|
120
151
|
/**
|
|
121
|
-
*
|
|
152
|
+
* Returns the number of bytes in a text string. Uses double-byte characters.
|
|
122
153
|
* @param text is the text string from which you want to extract characters.
|
|
154
|
+
*
|
|
155
|
+
* @remarks
|
|
156
|
+
* Counts the UTF-16 units the text is stored in, which is one per character for every alphabet a
|
|
157
|
+
* single-byte language has — and two for an astral character, so `LENB` and {@link LEN} disagree
|
|
158
|
+
* there even outside a DBCS language.
|
|
123
159
|
*/
|
|
124
160
|
export declare function LENB(text: string): number;
|
|
125
161
|
/**
|
|
126
|
-
*
|
|
162
|
+
* Converts all letters in a text string to lowercase.
|
|
127
163
|
* @param text is the text you want to convert to lowercase. Characters in Text that are not letters are not changed.
|
|
128
164
|
*/
|
|
129
165
|
export declare function LOWER(text: string): string;
|
|
130
166
|
/**
|
|
131
|
-
*
|
|
167
|
+
* Returns the characters from the middle of a text string, given a starting position and length.
|
|
132
168
|
* @param text is the text string from which you want to extract characters.
|
|
133
169
|
* @param startNum is the position of the first character you want to extract.
|
|
134
170
|
* @param numChars specifies how many characters to return from Text.
|
|
171
|
+
*
|
|
172
|
+
* @remarks
|
|
173
|
+
* A character is a CODE POINT, as in LEFT. The two counts are read from the double as they stand —
|
|
174
|
+
* LEFT's `4.9999999`-is-five shift does not happen here (`MID("hello",0.9999999,1)` is #VALUE!) —
|
|
175
|
+
* and both are judged before truncation, so a `startNum` under 1 or a negative `numChars` is
|
|
176
|
+
* #VALUE! even where truncation would have made them 0. A start past the end is the empty string
|
|
177
|
+
* rather than an error. Excel additionally refuses counts above its 32-bit internals (a `numChars`
|
|
178
|
+
* past 2^31-1, a `startNum` past 2^31); we have no such limit and answer.
|
|
135
179
|
*/
|
|
136
180
|
export declare function MID(text: string, startNum: number, numChars: number): Scalar;
|
|
137
181
|
/**
|
|
182
|
+
* Returns characters from the middle of a text string. Uses double-byte characters.
|
|
138
183
|
* @deprecated DBCS
|
|
139
|
-
* @summary Returns characters from the middle of a text string. Uses double-byte characters.
|
|
140
184
|
* @param text is the text string from which you want to extract characters.
|
|
141
185
|
* @param startNum is the position of the first character you want to extract.
|
|
142
186
|
* @param numBytes is the number of bytes to extract.
|
|
187
|
+
*
|
|
188
|
+
* @remarks
|
|
189
|
+
* Positions and counts are in UTF-16 units where {@link MID}'s are characters, so a cut can land
|
|
190
|
+
* inside an astral character and return half of one — as Excel's does. Otherwise MID's rules.
|
|
143
191
|
*/
|
|
144
192
|
export declare function MIDB(text: string, startNum: number, numBytes: number): Scalar;
|
|
145
193
|
/**
|
|
146
|
-
*
|
|
194
|
+
* Converts text to number in a locale-independent manner.
|
|
147
195
|
* @param text is the text string you want to convert.
|
|
148
196
|
* @param decimalSeparator is the character that separates the integer part from the decimal part of the number.
|
|
149
197
|
* @param groupSeparator is the character that separates groups of thousands.
|
|
150
198
|
*/
|
|
151
199
|
export declare function NUMBERVALUE(text: string, decimalSeparator?: string, groupSeparator?: string): Scalar;
|
|
152
200
|
/**
|
|
153
|
-
*
|
|
201
|
+
* Converts the first letter of each word in a text string to uppercase.
|
|
154
202
|
* @param text is the text string you want to convert.
|
|
155
203
|
*/
|
|
156
204
|
export declare function PROPER(text: string): string;
|
|
157
205
|
/**
|
|
158
|
-
*
|
|
206
|
+
* Replaces part of a text string with a different text string.
|
|
159
207
|
* @param oldText is the text string to be changed.
|
|
160
208
|
* @param startNum is the position of the first character you want to replace.
|
|
161
209
|
* @param numChars is the number of characters to replace.
|
|
@@ -163,8 +211,8 @@ export declare function PROPER(text: string): string;
|
|
|
163
211
|
*/
|
|
164
212
|
export declare function REPLACE(oldText: string, startNum: number, numChars: number, newText: string): Scalar;
|
|
165
213
|
/**
|
|
214
|
+
* Replaces part of a text string with a different text string using the number of bytes. Uses the double-byte character set (DBCS).
|
|
166
215
|
* @deprecated DBCS
|
|
167
|
-
* @summary Replaces part of a text string with a different text string using the number of bytes. Uses the double-byte character set (DBCS).
|
|
168
216
|
* @param oldText is the text string to be changed.
|
|
169
217
|
* @param startNum is the position of the first character you want to replace.
|
|
170
218
|
* @param numBytes is the number of bytes to replace.
|
|
@@ -172,40 +220,57 @@ export declare function REPLACE(oldText: string, startNum: number, numChars: num
|
|
|
172
220
|
*/
|
|
173
221
|
export declare function REPLACEB(oldText: string, startNum: number, numBytes: number, newText: string): Scalar;
|
|
174
222
|
/**
|
|
175
|
-
*
|
|
223
|
+
* Repeats text a given number of times.
|
|
176
224
|
* @param text is the text you want to repeat.
|
|
177
225
|
* @param numberTimes is the number of times you want to repeat text.
|
|
178
226
|
*/
|
|
179
227
|
export declare function REPT(text: string, numberTimes: number): Scalar;
|
|
180
228
|
/**
|
|
181
|
-
*
|
|
229
|
+
* Returns the specified number of characters from the end of a text string.
|
|
182
230
|
* @param text is the text string that contains the characters you want to extract.
|
|
183
231
|
* @param numChars specifies how many characters you want to extract.
|
|
232
|
+
*
|
|
233
|
+
* @remarks
|
|
234
|
+
* LEFT's rules, from the other end: a code point is the unit, a negative count is #VALUE!, a count
|
|
235
|
+
* past the end is the whole text, and a fractional count is shifted before truncating.
|
|
184
236
|
*/
|
|
185
237
|
export declare function RIGHT(text: string, numChars?: number): string;
|
|
186
238
|
/**
|
|
187
|
-
*
|
|
239
|
+
* Returns the rightmost numBytes characters from text. Uses double-byte characters.
|
|
188
240
|
* @param text is the text string from which you want to extract characters.
|
|
189
241
|
* @param numBytes is the number of bytes to extract.
|
|
190
242
|
*/
|
|
191
243
|
export declare function RIGHTB(text: string, numBytes?: number): string;
|
|
192
244
|
/**
|
|
193
|
-
*
|
|
245
|
+
* Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive).
|
|
194
246
|
* @param findText is the text you want to find.
|
|
195
247
|
* @param withinText is the text in which you want to search for findText.
|
|
196
248
|
* @param startNum is the character number in withinText, counting from the left, at which you want to start searching.
|
|
249
|
+
*
|
|
250
|
+
* @remarks
|
|
251
|
+
* FIND's case-insensitive, wildcard-aware half: `?` matches any one character INCLUDING a line
|
|
252
|
+
* break, `*` any run, and `~` escapes those two and itself. A `~` before anything else is dropped
|
|
253
|
+
* rather than matched, so `SEARCH("~b","abc")` is 2. Unlike FIND, `startNum` must be within the
|
|
254
|
+
* text — so an empty `withinText` is always #VALUE!, and `SEARCH("","hello",6)` is too where FIND
|
|
255
|
+
* answers 6. Case-insensitivity follows Windows' case table rather than Unicode's full folding: it
|
|
256
|
+
* folds the letterlike symbols (a KELVIN SIGN matches `k`, a capital sharp S matches `ß`) but not
|
|
257
|
+
* a MICRO SIGN to `μ` or a dotted capital `İ` to `i`.
|
|
197
258
|
*/
|
|
198
259
|
export declare function SEARCH(findText: string, withinText: string, startNum?: number): number;
|
|
199
260
|
/**
|
|
261
|
+
* Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive). Uses the double-byte character set (DBCS).
|
|
200
262
|
* @deprecated DBCS
|
|
201
|
-
* @summary Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive). Uses the double-byte character set (DBCS).
|
|
202
263
|
* @param findText is the text you want to find.
|
|
203
264
|
* @param withinText is the text in which you want to search for findText.
|
|
204
265
|
* @param startBytes is the character number in withinText, counting from the left, at which you want to start searching.
|
|
266
|
+
*
|
|
267
|
+
* @remarks
|
|
268
|
+
* {@link SEARCH} with its positions and its start counted in UTF-16 units, which differs only
|
|
269
|
+
* where the text holds an astral character.
|
|
205
270
|
*/
|
|
206
271
|
export declare function SEARCHB(findText: string, withinText: string, startBytes?: number): number;
|
|
207
272
|
/**
|
|
208
|
-
*
|
|
273
|
+
* Splits text around a specified delimiter.
|
|
209
274
|
* @param text The text to split.
|
|
210
275
|
* @param delimiter The character or string to split around.
|
|
211
276
|
* @param splitByEach Whether to split around each character in delimiter individually. Default TRUE.
|
|
@@ -214,26 +279,26 @@ export declare function SEARCHB(findText: string, withinText: string, startBytes
|
|
|
214
279
|
*/
|
|
215
280
|
export declare function SPLIT(text: string, delimiter: string, splitByEach?: boolean, removeEmptyText?: boolean): Scalar[][];
|
|
216
281
|
/**
|
|
217
|
-
*
|
|
282
|
+
* Replaces existing text with new text in a text string.
|
|
218
283
|
* @param text is the text or the reference to a cell containing text in which you want to substitute characters.
|
|
219
284
|
* @param oldText is the existing text you want to replace. If the case of oldText does not match the case of text, SUBSTITUTE will not replace the text.
|
|
220
285
|
* @param newText is the text you want to replace oldText with.
|
|
221
286
|
* @param instanceNum specifies which occurrence of oldText you want to replace. If omitted, every instance of oldText is replaced.
|
|
222
287
|
*/
|
|
223
|
-
export declare function SUBSTITUTE(text: string, oldText: string, newText: string, instanceNum?:
|
|
288
|
+
export declare function SUBSTITUTE(text: string, oldText: string, newText: string, instanceNum?: Scalar): Scalar;
|
|
224
289
|
/**
|
|
225
|
-
*
|
|
290
|
+
* Checks whether a value is text, and returns the text if it is, or returns double quotes (empty text) if it is not.
|
|
226
291
|
* @param value is the value to test.
|
|
227
292
|
*/
|
|
228
|
-
export declare function T(value: Scalar): string;
|
|
293
|
+
export declare function T(value: IRange | Scalar): string;
|
|
229
294
|
/**
|
|
230
|
-
*
|
|
295
|
+
* Converts a value to text in a specific number format.
|
|
231
296
|
* @param value is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value.
|
|
232
297
|
* @param formatText is a text string that defines the number format to use.
|
|
233
298
|
*/
|
|
234
299
|
export declare function TEXT(value: Scalar, formatText: string): Scalar;
|
|
235
300
|
/**
|
|
236
|
-
*
|
|
301
|
+
* Returns text that's after delimiting characters.
|
|
237
302
|
* @param text The text you want to search for the delimiter.
|
|
238
303
|
* @param delimiter The character or string to use as a delimiter.
|
|
239
304
|
* @param instanceNum The desired occurrence of delimiter. The default is 1. A negative number searches from the end.
|
|
@@ -241,9 +306,9 @@ export declare function TEXT(value: Scalar, formatText: string): Scalar;
|
|
|
241
306
|
* @param matchEnd Whether to match the delimiter against the end of text. By default, they're not matched.
|
|
242
307
|
* @param ifNotFound Returned if no match is found. By default, #N/A is returned.
|
|
243
308
|
*/
|
|
244
|
-
export declare function TEXTAFTER(text: string, delimiter: string
|
|
309
|
+
export declare function TEXTAFTER(text: string, delimiter: Flatten<string>, instanceNum?: Omittable<number>, matchMode?: number, matchEnd?: number, ifNotFound?: Omittable<AcceptError<string>>): Scalar;
|
|
245
310
|
/**
|
|
246
|
-
*
|
|
311
|
+
* Returns text that's before delimiting characters.
|
|
247
312
|
* @param text The text you want to search for the delimiter.
|
|
248
313
|
* @param delimiter The character or string to use as a delimiter.
|
|
249
314
|
* @param instanceNum The desired occurrence of delimiter. The default is 1. A negative number searches from the end.
|
|
@@ -251,16 +316,16 @@ export declare function TEXTAFTER(text: string, delimiter: string, instanceNum?:
|
|
|
251
316
|
* @param matchEnd Whether to match the delimiter against the end of text. By default, they're not matched.
|
|
252
317
|
* @param ifNotFound Returned if no match is found. By default, #N/A is returned.
|
|
253
318
|
*/
|
|
254
|
-
export declare function TEXTBEFORE(text: string, delimiter: string
|
|
319
|
+
export declare function TEXTBEFORE(text: string, delimiter: Flatten<string>, instanceNum?: Omittable<number>, matchMode?: number, matchEnd?: number, ifNotFound?: Omittable<AcceptError<string>>): Scalar;
|
|
255
320
|
/**
|
|
256
|
-
*
|
|
321
|
+
* Concatenates a list or range of text strings using a delimiter.
|
|
257
322
|
* @param delimiter Character or string to insert between each text item.
|
|
258
323
|
* @param ignoreEmpty if TRUE(default), ignores empty cells.
|
|
259
324
|
* @param text are 1 to 252 text strings or ranges to be joined.
|
|
260
325
|
*/
|
|
261
|
-
export declare function TEXTJOIN(delimiter: string
|
|
326
|
+
export declare function TEXTJOIN(delimiter: Flatten<string>, ignoreEmpty: Omittable<boolean, true>, text: Repeating<IRange<string>, 254>): Scalar;
|
|
262
327
|
/**
|
|
263
|
-
*
|
|
328
|
+
* Splits text into rows or columns using delimiters.
|
|
264
329
|
* @param text The text to split.
|
|
265
330
|
* @param colDelimiter The column delimiter(s) - can be string or array of strings.
|
|
266
331
|
* @param rowDelimiter The row delimiter(s), null/undefined means no row splitting.
|
|
@@ -270,40 +335,40 @@ export declare function TEXTJOIN(delimiter: string, ignoreEmpty: Omittable<boole
|
|
|
270
335
|
*/
|
|
271
336
|
export declare function TEXTSPLIT(text: string, colDelimiter: Flatten<string>, rowDelimiter?: Omittable<Flatten<string>>, ignoreEmpty?: boolean, matchMode?: number, padWith?: AcceptError<string> | undefined): Scalar[][];
|
|
272
337
|
/**
|
|
338
|
+
* Translate a text string from one language to another using the Microsoft Translator service.
|
|
273
339
|
* @hidden Unsupported Connectivity
|
|
274
|
-
* @summary Translate a text string from one language to another using the Microsoft Translator service.
|
|
275
340
|
* @param text The text to translate.
|
|
276
341
|
* @param sourceLanguage Specifiy the source language your text is currently in. Expressed as a two-letter language code.
|
|
277
342
|
* @param targetLanguage Specifiy the source language you want your text to be translated to. Expressed as a two-letter language code.
|
|
278
343
|
*/
|
|
279
344
|
export declare function TRANSLATE(text: string, sourceLanguage: string, targetLanguage: string): Scalar;
|
|
280
345
|
/**
|
|
281
|
-
*
|
|
346
|
+
* Removes all spaces from text except for single spaces between words.
|
|
282
347
|
* @param text The text from which you want to remove extra spaces.
|
|
283
348
|
*/
|
|
284
349
|
export declare function TRIM(text: string): string;
|
|
285
350
|
/**
|
|
286
|
-
*
|
|
351
|
+
* Returns the Unicode character referenced by the given numeric value.
|
|
287
352
|
* @param number is the Unicode number representing a character.
|
|
288
353
|
*/
|
|
289
354
|
export declare function UNICHAR(number: number): string;
|
|
290
355
|
/**
|
|
291
|
-
*
|
|
356
|
+
* Returns the number (code point) corresponding to the first character of the text.
|
|
292
357
|
* @param text is the character that you want the Unicode value of.
|
|
293
358
|
*/
|
|
294
359
|
export declare function UNICODE(text: string): number;
|
|
295
360
|
/**
|
|
296
|
-
*
|
|
361
|
+
* Converts a text string to all uppercase letters.
|
|
297
362
|
* @param text is the text you want converted to uppercase, a reference or a text string.
|
|
298
363
|
*/
|
|
299
364
|
export declare function UPPER(text: string): string;
|
|
300
365
|
/**
|
|
301
|
-
*
|
|
366
|
+
* Converts a text string that represents a number to a number.
|
|
302
367
|
* @param text is the text enclosed in quotation marks or a reference to a cell containing the text you want to convert.
|
|
303
368
|
*/
|
|
304
369
|
export declare function VALUE(text: Scalar): number;
|
|
305
370
|
/**
|
|
306
|
-
*
|
|
371
|
+
* Returns a text representation of a value.
|
|
307
372
|
* @param value the value to represent as text.
|
|
308
373
|
* @param format the format of the text.
|
|
309
374
|
*/
|
package/types/src/thai/Text.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Scalar } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Returns specific data from XML content using the specified XPath.
|
|
4
4
|
* @param xml is a string in valid XML format.
|
|
5
5
|
* @param xpath is a string in standard XPath format.
|
|
6
6
|
*/
|
package/types/src/web/Web.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Returns a URL-encoded string.
|
|
3
3
|
* @param text is a string to be URL encoded.
|
|
4
4
|
*/
|
|
5
5
|
export declare function ENCODEURL(text: string): string;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Retrieves data from a web service.
|
|
8
8
|
* @param url is the URL of the web service.
|
|
9
9
|
*/
|
|
10
10
|
export declare function WEBSERVICE(url: string): Promise<string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={ACOS:{s:`Returns the arccosine of a number, in radians in the range 0 to Pi. The arccosine is the angle whose cosine is Number.`,p:{number:{d:`is the cosine of the angle you want and must be from -1 to 1.`}}},ACOSH:{s:`Returns the inverse hyperbolic cosine of a number.`,p:{number:{d:`is any real number equal to or greater than 1.`}}},ACOT:{s:`Returns the arccotangent of a number, in radians in the range 0 to Pi.`,p:{number:{d:`is the cotangent of the angle you want.`}}},ACOTH:{s:`Returns the inverse hyperbolic cotangent of a number.`,p:{number:{d:`is the hyperbolic cotangent of the angle that you want.`}}},ASIN:{s:`Returns the arcsine of a number in radians, in the range -Pi/2 to Pi/2.`,p:{number:{d:`is the sine of the angle you want and must be from -1 to 1.`}}},ASINH:{s:`Returns the inverse hyperbolic sine of a number.`,p:{number:{d:`is any real number equal to or greater than 1.`}}},ATAN:{s:`Returns the arctangent of a number in radians, in the range -Pi/2 to Pi/2.`,p:{number:{d:`is the tangent of the angle you want.`}}},ATAN2:{s:`Returns the arctangent of the specified x- and y- coordinates, in radians between -Pi and Pi, excluding -Pi.`,p:{x:{d:`is the x-coordinate of the point.`},y:{d:`is the y-coordinate of the point.`}}},ATANH:{s:`Returns the inverse hyperbolic tangent of a number.`,p:{number:{d:`is any real number between -1 and 1 excluding -1 and 1.`}}},COS:{s:`Returns the cosine of an angle.`,p:{number:{d:`is the angle in radians for which you want the cosine.`}}},COSH:{s:`Returns the hyperbolic cosine of a number.`,p:{number:{d:`is any real number.`}}},COT:{s:`Returns the cotangent of an angle.`,p:{number:{d:`is the angle in radians for which you want the cotangent.`}}},COTH:{s:`Returns the hyperbolic cotangent of a number.`,p:{number:{d:`is the angle in radians for which you want the hyperbolic cotangent.`}}},CSC:{s:`Returns the cosecant of an angle.`,p:{number:{d:`is the angle in radians for which you want the cosecant.`}}},CSCH:{s:`Returns the hyperbolic cosecant of an angle.`,p:{number:{d:`is the angle in radians for which you want the hyperbolic cosecant.`}}},SEC:{s:`Returns the secant of an angle.`,p:{number:{d:`is the angle in radians for which you want the secant.`}}},SECH:{s:`Returns the hyperbolic secant of an angle.`,p:{number:{d:`is the angle in radians for which you want the hyperbolic secant.`}}},SIN:{s:`Returns the sine of an angle.`,p:{number:{d:`is the angle in radians for which you want the sine. Degrees * PI()/180 = radians.`}}},SINH:{s:`Returns the hyperbolic sine of a number.`,p:{number:{d:`is any real number.`}}},TAN:{s:`Returns the tangent of an angle.`,p:{number:{d:`is the angle in radians for which you want the tangent. Degrees * PI()/180 = radians.`}}},TANH:{s:`Returns the hyperbolic tangent of a number.`,p:{number:{d:`is any real number.`}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={CELL:{s:`Returns information about the cell.`,p:{infoType:{d:`The type of information to return.`},reference:{}}},"ERROR.TYPE":{s:`Returns a number matching an error value.`,p:{errorVal:{d:`is the error value for which you want the identifying number, and can be an actual error value or a reference to a cell containing an error value.`}}},INFO:{s:`Returns information about the current operating system.`,p:{typeText:{d:`The type of information to return.`}}},ISBLANK:{s:`Checks whether a reference is to an empty cell, and returns TRUE or FALSE.`,p:{value:{d:`is the cell or a name that refers to the cell you want to test.`}}},ISDATE:{s:`Returns TRUE if the value is a date.`,c:`Sheets`,p:{value:{d:`The value to check.`}}},ISEMAIL:{s:`Returns TRUE if the value is a valid email address.`,c:`Sheets`,p:{value:{d:`The value to check.`}}},ISERR:{s:`Checks whether a value is an error other than #N/A, and returns TRUE or FALSE.`,p:{value:{d:`is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.`}}},ISERROR:{s:`Checks whether a value is an error, and returns TRUE or FALSE`,p:{value:{d:`is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value`}}},ISEVEN:{s:`Returns TRUE if the number is even.`,p:{number:{d:`is the value to test.`}}},ISFORMULA:{s:`Checks whether a reference is to a cell containing a formula, and returns TRUE or FALSE.`,p:{reference:{d:`is a reference to the cell you want to test. Reference can be a cell reference, a formula, or name that refers to a cell.`}}},ISLOGICAL:{s:`Checks whether a value is a logical value (TRUE or FALSE), and returns TRUE or FALSE.`,p:{value:{d:`is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.`}}},ISNA:{s:`Checks whether a value is #N/A, and returns TRUE or FALSE.`,p:{value:{d:`is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.`}}},ISNONTEXT:{s:`Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.`,p:{value:{d:`is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value.`}}},ISNUMBER:{s:`Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.`,p:{value:{d:`is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value.`}}},ISODD:{s:`Returns TRUE if the number is odd.`,p:{number:{d:`is the value to test.`}}},ISOMITTED:{s:`Checks whether the value is omitted, and returns TRUE or FALSE.`,p:{argument:{d:`is the value you want to test, such as a LAMBDA parameter.`}}},ISURL:{s:`Returns TRUE if the value is a valid HTTP or HTTPS URL.`,c:`Sheets`,p:{value:{d:`The value to check.`}}},ISREF:{s:`Checks whether a value is a reference, and returns TRUE or FALSE.`,p:{value:{d:`is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.`}}},ISTEXT:{s:`Converts a value to text in a specific number format.`,p:{value:{d:`is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value.`}}},N:{s:`Converts non-number value to a number, dates to serial numbers, TRUE to 1, anything else to 0 (zero).`,p:{value:{d:`is the value to convert.`}}},NA:{s:`Returns the #N/A error value`,p:{}},SHEET:{s:`Returns the sheet number of the referenced sheet.`,p:{value:{d:`is the name of a sheet or a reference that you want the sheet number of. If omitted the number of the sheet containing the function is returned.`}}},SHEETS:{s:`Returns the number of sheets in a reference.`,p:{reference:{d:`is a reference for which you want to know the number of sheets it contains. If omitted the number of sheets in the workbook containing the function is returned.`}}},TYPE:{s:`Returns an integer representing the data type of a value: number = 1; text = 2; logical value = 4; error value = 16; array = 64; compound data = 128.`,p:{value:{d:`is the value to check.`}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={ABS:{s:`Returns the absolute value of a number, a number without its sign.`,p:{number:{d:`is the real number for which you want the absolute value.`}}},AGGREGATE:{s:`Returns an aggregate in a list or database.`,p:{functionNum:{d:`The function to use: 1-19.`},options:{d:`The options for the aggregate: 0-7.`},array:{d:`The ranges to aggregate.`},KOrRest:{d:`If functionNum is 14-19, this is the k value. Otherwise, this is the first of the ranges to aggregate.`}}},ARABIC:{s:`Converts a Roman numeral to Arabic.`,p:{text:{d:`is the Roman numeral you want to convert.`}}},BASE:{s:`Converts a number into a text representation with the given radix (base).`,p:{number:{d:`is the number that you want to convert.`},radix:{d:`is the base Radix that you want to convert the number into.`},minLength:{d:`is the minimum length of the returned string.`}}},CEILING:{s:`Rounds a number up, to the nearest multiple of significance.`,c:`Compatibility`,p:{number:{d:`is the value you want to round.`},significance:{d:`is the multiple to which you want to round.`}}},"CEILING.MATH":{s:`Rounds a number up, to the nearest integer or to the nearest multiple of significance.`,p:{number:{d:`is the real number you want to round.`},significance:{d:`when given and nonzero this function will round away from zero.`},mode:{}}},"CEILING.PRECISE":{s:`Rounds a number up to the nearest integer or to the nearest multiple of significance.`,c:`Compatibility`,p:{number:{d:`is the real number you want to round.`},significance:{d:`is the multiple to which you want to round.`}}},"ECMA.CEILING":{s:`Rounds a number up, to the nearest multiple of significance.`,c:`Compatibility`,p:{number:{d:`is the value you want to round.`},significance:{d:`is the multiple to which you want to round.`}}},COMBIN:{s:`Returns the number of combinations for a given number of items.`,p:{number:{d:`is the total number of items.`},numberChosen:{d:`is the number of items in each combination.`}}},COMBINA:{s:`Returns the number of combinations with repetitions for a given number of items.`,p:{number:{d:`is the total number of items.`},numberChosen:{d:`is the number of items in each combination.`}}},DECIMAL:{s:`Converts a text representation of a number in a given base into a decimal number.`,p:{number:{d:`is the number that you want to convert.`},radix:{d:`is the base Radix of the number you are converting.`}}},DEGREES:{s:`Converts radians to degrees.`,p:{angle:{d:`is the angle in radians that you want to convert.`}}},EVEN:{s:`Rounds a positive number up and negative number down to the nearest even integer.`,p:{number:{d:`is the value to round.`}}},EXP:{s:`Returns e raised to the power of a given number.`,p:{number:{d:`is the exponent applied to the base e. The constant e equals 2.71828182845904, the base of the natural logarithm.`}}},FACT:{s:`Returns the factorial of a number, equal to 1*2*3*...* Number.`,p:{number:{d:`is the nonnegative number you want the factorial for.`}}},FACTDOUBLE:{s:`Returns the double factorial of a number.`,p:{number:{d:`is the value for which to return the double factorial.`}}},FLOOR:{s:`Rounds a number down to the nearest multiple of significance.`,c:`Compatibility`,p:{number:{d:`is the real number you want to round.`},significance:{d:`is the multiple to which you want to round. Number and Significance must either both be positive or both be negative.`}}},"FLOOR.MATH":{s:`Rounds a number down, to the nearest integer or to the nearest multiple of significance.`,p:{number:{d:`is the real number you want to round.`},significance:{d:`is the multiple to which you want to round.`},mode:{d:`when given and nonzero this function will round towards zero.`}}},"FLOOR.PRECISE":{s:`Rounds a number down to the nearest integer or to the nearest multiple of significance.`,p:{number:{d:`is the real number you want to round.`},significance:{d:`is the multiple to which you want to round.`}}},GCD:{s:`Returns the greatest common divisor.`,p:{number:{d:`are 1 to 255 values.`}}},INT:{s:`Rounds a number down to the nearest integer.`,p:{number:{d:`is the real number you want to round down to an integer.`}}},"ISO.CEILING":{s:`Rounds a number up to the nearest integer.`,c:`Compatibility`,p:{number:{d:`is the real number you want to round up to an integer.`},significance:{d:`is the multiple to which you want to round number.`}}},LCM:{s:`Returns the least common multiple.`,p:{number:{d:`are 1 to 255 values for which you want the least common multiple.`}}},LN:{s:`Returns the natural logarithm of a number.`,p:{number:{d:`is the positive real number for which you want the natural logarithm.`}}},LOG:{s:`Returns the logarithm of a number to the base you specify.`,p:{number:{d:`is the positive real number for which you want the logarithm.`},base:{d:`is the base of the logarithm.`}}},LOG10:{s:`Returns the base-10 logarithm of a number.`,p:{number:{d:`is the positive real number for which you want the base-10 logarithm.`}}},MDETERM:{s:`Returns the matrix determinant of an array.`,p:{array:{d:`is a numeric array with an equal number of rows and columns, either a cell range or an array constant.`}}},MINVERSE:{s:`Returns the inverse matrix for the matrix stored in an array.`,p:{array:{d:`is a numeric array with an equal number of rows and columns, either a cell range or an array constant.`}}},MMULT:{s:`Returns the matrix product of two arrays, an array with the same number of rows as array1 and columns as array2.`,p:{array1:{d:`is the first array of numbers to multiply and must have the same number of columns as Array2 has rows.`},array2:{d:`is the second array of numbers to multiply and must have the same number of columns as Array1 has rows.`}}},MOD:{s:`Returns the remainder after a number is divided by a divisor.`,p:{number:{d:`is the number for which you want to find the remainder after the division is performed.`},divisor:{d:`is the number by which you want to divide Number.`}}},MROUND:{s:`Returns a number rounded to the desired multiple.`,p:{number:{d:`is the value to round.`},multiple:{d:`is the multiple to which you want to round number.`}}},MULTINOMIAL:{s:`Returns the multinomial of a set of numbers.`,p:{number:{d:`are 1 to 255 values for which you want the multinomial.`}}},MUNIT:{s:`Returns the unit matrix for the specified dimension.`,p:{dimension:{d:`is an integer specifying the dimension of the unit matrix that you want to return.`}}},ODD:{s:`Rounds a positive number up and negative number down to the nearest odd integer.`,p:{number:{d:`is the value to round.`}}},PERCENTOF:{s:`Returns the percentage of a subset of a given data set.`,p:{dataSubset:{d:`is the subset.`},dataAll:{d:`is the data set.`}}},PI:{s:`Returns the value of Pi, 3.14159265358979, accurate to 15 digits.`,p:{}},POWER:{s:`Returns the result of a number raised to a power.`,p:{number:{d:`is the base number, any real number.`},power:{d:`is the exponent, to which the base number is raised.`}}},PRODUCT:{s:`Multiplies all the numbers given as arguments.`,p:{number:{d:`are 1 to 255 numbers, logical values, or text representations of numbers that you want to multiply.`}}},QUOTIENT:{s:`Returns the integer portion of a division.`,p:{numerator:{d:`is the dividend.`},denominator:{d:`is the divisor.`}}},RADIANS:{s:`Converts degrees to radians.`,p:{angle:{d:`is an angle in degrees that you want to convert.`}}},RAND:{s:`Returns a random number greater than or equal to 0 and less than 1, evenly distributed (changes on recalculation).`,p:{}},RANDARRAY:{s:`Returns an array of random numbers.`,p:{rows:{d:`the number of rows in the returned array.`},columns:{d:`the number of columns in the returned array.`},min:{d:`the minimum number you would like returned.`},max:{d:`the maximum number you would like returned.`},integer:{d:`return an integer or a decimal value. TRUE for an integer, FALSE for a decimal number.`}}},RANDBETWEEN:{s:`Returns a random number between the numbers you specify.`,p:{bottom:{d:`is the smallest integer RANDBETWEEN will return.`},top:{d:`is the largest integer RANDBETWEEN will return.`}}},ROMAN:{s:`Converts an Arabic numeral to Roman, as text.`,p:{number:{d:`is the Arabic numeral you want to convert.`},form:{d:`is the number specifying the type of Roman numeral you want.`}}},ROUND:{s:`Rounds a number to a specified number of digits.`,p:{number:{d:`is the number you want to round.`},numDigits:{d:`is the number of digits to which you want to round. Negative rounds to the left of the decimal point to the nearest integer.`}}},ROUNDDOWN:{s:`Rounds a number down, toward zero.`,p:{number:{d:`is any real number that you want rounded down.`},numDigits:{d:`is the number of digits to which you want to round. Negative rounds to the left of the decimal point to the nearest integer.`}}},ROUNDUP:{s:`Rounds a number up, away from zero.`,p:{number:{d:`is any real number that you want rounded up.`},numDigits:{d:`is the number of digits to which you want to round. Negative rounds to the left of the decimal point to the nearest integer.`}}},SEQUENCE:{s:`Returns a sequence of numbers.`,p:{rows:{d:`the number of rows to return.`},columns:{d:`the number of columns to return.`},start:{d:`the first number in the sequence.`},step:{d:`the amount to increment each subsequent value in the sequence.`}}},SERIESSUM:{s:`Returns the sum of a power series based on the formula.`,p:{x:{d:`is the input value to the power series.`},n:{d:`is the initial power to which you want to raise x.`},m:{d:`is the step by which to increase n for each term in the series.`},coefficients:{d:`is a set of coefficients by which each successive power of x is multiplied.`}}},SIGN:{s:`Returns the sign of a number: 1 if the number is positive, zero if the number is zero, or -1 if the number is negative.`,p:{number:{d:`is any real number.`}}},SQRT:{s:`Returns the square root of a number.`,p:{number:{d:`is the number for which you want the square root.`}}},SQRTPI:{s:`Returns the square root of (number * Pi).`,p:{number:{d:`is the number by which p is multiplied.`}}},SUBTOTAL:{s:`Returns a subtotal in a list or database.`,p:{functionNum:{d:`is the number 1 to 11 that specifies the summary function for the subtotal.`},ref:{d:`are 1 to 254 ranges or references for which you want the subtotal.`}}},SUM:{s:`Adds all the numbers in a range of cells.`,p:{number:{d:`are 1 to 255 numbers to sum. Logical values and text are ignored in cells, included if typed as arguments.`}}},SUMIF:{s:`Adds the cells specified by a given condition or criteria.`,p:{range:{d:`is the range of cells you want evaluated.`},criteria:{d:`is the condition or criteria in the form of a number, expression, or text that defines which cells will be added.`},sumRange:{d:`are the actual cells to sum. If omitted, the cells in range are used.`}}},SUMIFS:{s:`Adds the cells specified by a given set of conditions or criteria.`,p:{sumRange:{d:`are the actual cells to sum.`},criteria:{d:`the ranges to evaluate and the conditions to evaluate them against.`},"criteria.criteriaRange":{d:`is the range of cells you want evaluated for the particular condition.`},"criteria.criteria":{d:`is the condition or criteria in the form of a number, expression, or text that defines which cells will be added.`}}},SUMPRODUCT:{s:`Returns the sum of the products of corresponding ranges or arrays.`,p:{array:{d:`are 2 to 255 arrays for which you want to multiply and then add components. All arrays must have the same dimensions.`}}},SUMSQ:{s:`Returns the sum of the squares of the arguments. The arguments can be numbers, arrays, names, or references to cells that contain numbers.`,p:{number:{d:`are 1 to 255 numbers, arrays, names, or references to arrays for which you want the sum of the squares.`}}},SUMX2MY2:{s:`Sums the differences between the squares of two corresponding ranges or arrays.`,p:{arrayX:{d:`is the first range or array of numbers and can be a number or name, array, or reference that contains numbers.`},arrayY:{d:`is the second range or array of numbers and can be a number or name, array, or reference that contains numbers.`}}},SUMX2PY2:{s:`Returns the sum total of the sums of squares of numbers in two corresponding ranges or arrays.`,p:{arrayX:{d:`is the first range or array of numbers and can be a number or name, array, or reference that contains numbers.`},arrayY:{d:`is the second range or array of numbers and can be a number or name, array, or reference that contains numbers.`}}},SUMXMY2:{s:`Sums the squares of the differences in two corresponding ranges or arrays.`,p:{arrayX:{d:`is the first range or array of numbers and can be a number or name, array, or reference that contains numbers.`},arrayY:{d:`is the second range or array of numbers and can be a number or name, array, or reference that contains numbers.`}}},TRUNC:{s:`Truncates a number to an integer by removing the decimal, or fractional, part of the number.`,p:{number:{d:`is the number you want to truncate.`},numDigits:{d:`is a number specifying the precision of the truncation.`}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={ADDRESS:{s:`Creates a cell reference as text, given specified row and column numbers.`,p:{rowNum:{d:`is the row number to use in the cell reference: Row_number = 1 for row 1.`},columnNum:{d:`is the column number to use in the cell reference. For example, Column_number = 4 for column D.`},absNum:{d:`specifies the reference type: absolute = 1; absolute row/relative column = 2; relative row/absolute column = 3; relative = 4.`},a1:{d:`is a logical value that specifies the reference style: A1 style = 1 or TRUE; R1C1 style = 0 or FALSE.`},sheetText:{d:`is text specifying the name of the worksheet to be used as the external reference.`}}},AREAS:{s:`Returns the number of areas in a reference. An area is a range of contiguous cells or a single cell.`,p:{references:{d:`is a reference to a cell or range of cells and can refer to multiple areas.`}}},ARRAY_CONSTRAIN:{s:`Constrains an array result to a specified size.`,c:`Sheets`,p:{inputRange:{d:`The range to constrain.`},numRows:{d:`The number of rows the result should contain.`},numCols:{d:`The number of columns the result should contain.`}}},ARRAYFORMULA:{s:`Enables the display of values returned from an array formula into multiple rows and/or columns.`,c:`Sheets`,p:{arrayFormula:{d:`A range, a mathematical expression over ranges of the same size, or a function that returns a result of more than one cell.`}}},CHOOSE:{s:`Chooses a value or action to perform from a list of values, based on an index number.`,p:{indexNum:{d:`specifies which value argument is selected. Index_num must be between 1 and 254, or a formula or a reference to a number between 1 and 254.`},value:{d:`are 1 to 254 numbers, cell references, defined names, formulas, functions, or text arguments from which CHOOSE selects.`}}},CHOOSECOLS:{s:`Returns columns from an array or reference.`,p:{array:{d:`The array or reference from which to choose columns.`},colNum:{d:`The number of the column to be returned.`}}},CHOOSEROWS:{s:`Returns rows from an array or reference.`,p:{array:{d:`The array or reference from which to choose rows.`},rowNum:{d:`The number of the row to be returned.`}}},COLUMN:{s:`Returns the column number of a reference.`,p:{reference:{d:`is the cell or range of contiguous cells for which you want the column number. If omitted, the cell containing the COLUMN function is used.`}}},COLUMNS:{s:`Returns the number of columns in an array or reference.`,p:{array:{d:`is an array or array formula, or a reference to a range of cells for which you want the number of columns.`}}},DROP:{s:`Drops rows or columns from array start or end.`,p:{array:{d:`The array from which to drop rows or columns.`},row:{d:`The number of rows to drop. A negative value drops from the end of the array.`},columns:{d:`The number of columns to drop. A negative value drops from the end of the array.`}}},EXPAND:{s:`Expands an array to the specified dimensions.`,p:{array:{d:`The array to expand.`},row:{d:`The number of rows in the expanded array. If missing, rows will not be expanded.`},columns:{d:`The number of columns in the expanded array. If missing, columns will not be expanded.`},padWidth:{d:`The value with which to pad. The default is #N/A.`}}},FIELDVALUE:{s:`Extracts a value from a field of a given record.`,p:{value:{d:`The record from which you want to extract the field.`},fieldName:{d:`The names of the field or fields that you want to extract.`}},h:`Unimplemented RichData`},FILTER:{s:`Filter a range or array.`,p:{array:{d:`the range or array to filter.`},include:{d:`an array of booleans where TRUE represents a row or column to retain.`},ifEmpty:{d:`return if no items are retained.`}}},FORMULATEXT:{s:`Returns a formula as a string.`,p:{reference:{d:`is a reference to a formula.`}}},GETPIVOTDATA:{s:`Extracts data stored in a PivotTable.`,p:{dataField:{d:`is the name of the data field to extract data from.`},pivotTable:{d:`is a reference to a cell or range of cells in the PivotTable that contains the data you want to retrieve.`},fieldItem:{d:`the field/item pairs to refer to.`},"fieldItem.field":{d:`field to refer to.`},"fieldItem.item":{d:`field item to refer to.`}},h:`Unimplemented Pivot`},HLOOKUP:{s:`Looks for a value in the top row of a table or array of values and returns the value in the same column from a row you specify.`,p:{lookupValue:{d:`is the value to be found in the first row of the table and can be a value, a reference, or a text string.`},tableArray:{d:`is a table of text, numbers, or logical values in which data is looked up. tableArray can be a reference to a range or a range name.`},rowIndexNum:{d:`is the row number in tableArray from which the matching value should be returned. The first row of values in the table is row 1.`},rangeLookup:{d:`is a logical value: to find the closest match in the top row (sorted in ascending order) = TRUE; find an exact match = FALSE.`}}},HSTACK:{s:`Horizontally stacks arrays into one array.`,p:{array:{d:`An array or reference to be stacked.`}}},HYPERLINK:{s:`Creates a shortcut or jump that opens a document stored on your hard drive, a network server, or on the Internet.`,p:{linkLocation:{d:`is the text giving the path and file name to the document to be opened, a hard drive location, UNC address, or URL path.`},friendlyName:{d:`is text or a number that is displayed in the cell. If omitted, the cell displays the linkLocation text.`}},h:`Unimplemented RichData`},IMAGE:{s:`Returns an image from a given source.`,p:{source:{d:`The path of the source that points to the image.`},alternateText:{d:`The alternative text that describes the image for accessibility.`},sizing:{d:`The setting that determines the dimensions in which the image will be rendered in the cell.`},height:{d:`The custom height of the image in pixels.`},width:{d:`The custom width of the image in pixels.`}},h:`Unimplemented RichData`},INDEX:{s:`Returns a value or reference of the cell at the intersection of a particular row and column, in a given range.`,p:{array:{d:`is a range of cells or an array constant.`},rowNum:{d:`selects the row in Array or Reference from which to return a value. If omitted, colNum is required.`},colNum:{d:`selects the column in Array or Reference from which to return a value. If omitted, rowNum is required.`},areaNum:{d:`selects the area in Array or Reference from which to return a value. If omitted, the first area is used.`}}},INDIRECT:{s:`Returns the reference specified by a text string.`,p:{refText:{d:`is a reference to a cell that contains an A1- or R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string.`},a1:{d:`is a logical value that specifies the type of reference in refText: R1C1-style = FALSE; A1-style = TRUE.`}}},LOOKUP:{s:`Looks up a value either from a one-row or one-column range or from an array. Provided for backward compatibility.`,p:{lookupValue:{d:`is a value that LOOKUP searches for in lookupVector and can be a number, text, a logical value, or a name or reference to a value.`},lookupVector:{d:`is a range that contains only one row or one column of text, numbers, or logical values, placed in ascending order.`},resultVector:{d:`is a range that contains only one row or column, the same size as lookupVector.`}}},MATCH:{s:`Returns the relative position of an item in an array that matches a specified value in a specified order.`,p:{lookupValue:{d:`is the value you use to find the value you want in the array, a number, text, or logical value, or a reference to one of these.`},lookupArray:{d:`is a contiguous range of cells containing possible lookup values, an array of values, or a reference to an array.`},matchType:{d:`is a number 1, 0, or -1 indicating which value to return.`}}},OFFSET:{s:`Returns a reference to a range that is a given number of rows and columns from a given reference.`,p:{reference:{d:`is the reference from which you want to base the offset, a reference to a cell or range of adjacent cells.`},rows:{d:`is the number of rows, up or down, that you want the upper-left cell of the result to refer to.`},cols:{d:`is the number of columns, to the left or right, that you want the upper-left cell of the result to refer to.`},height:{d:`is the height, in number of rows, that you want the result to be, the same height as Reference if omitted.`},width:{d:`is the width, in number of columns, that you want the result to be, the same width as Reference if omitted.`}}},ROW:{s:`Returns the row number of a reference.`,p:{reference:{d:`is the cell or a single range of cells for which you want the row number; if omitted, returns the cell containing the ROW function.`}}},ROWS:{s:`Returns the number of rows in a reference or array.`,p:{array:{d:`is an array, an array formula, or a reference to a range of cells for which you want the number of rows.`}}},RTD:{s:`Retrieves the real-time data (RTD) from a program that supports COM automation.`,p:{progId:{d:`is the programmatic identifier (ProgID) of a registered COM automation add-in. Enclose the id in quotation marks.`},server:{d:`is the name of the server that provides the real-time data. If running locally us an empty string.`},topic:{d:`are 1 to 38 parameters that specify a piece of data.`}},h:`Unimplemented Connectivity`},SORT:{s:`Sorts a range or array.`,p:{array:{d:`the range or array to sort.`},sortIndex:{d:`a number indicating the row or column to sort by.`},sortOrder:{d:`a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order.`},byCol:{d:`a logical value indicating the desired sort direction: FALSE to sort by row (default), TRUE to sort by column.`}}},SORTBY:{s:`Sorts a range or array based on the values in a corresponding range or array.`,p:{array:{d:`the range or array to sort.`},by:{d:`the ranges to sort on and the direction for each.`},"by.byArray":{d:`the range or array to sort on.`},"by.sortOrder":{d:`a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order.`}}},TAKE:{s:`Returns rows or columns from array start or end.`,p:{array:{d:`The array from which to take rows or columns.`},rows:{d:`The number of rows to take. A negative value takes from the end of the array.`},columns:{d:`The number of columns to take. A negative value takes from the end of the array.`}}},TOCOL:{s:`Returns the array as one column.`,p:{array:{d:`The array or reference to return as a column.`},ignore:{d:`Whether to ignore certain types of values. By default, no values are ignored.`},scanByColumn:{d:`Scan the array by column. By default, the array is scanned by row.`}}},TOROW:{s:`Returns the array as one row.`,p:{array:{d:`The array or reference to return as a row.`},ignore:{d:`Whether to ignore certain types of values. By default, no values are ignored.`},scanByColumn:{d:`Scan the array by column. By default, the array is scanned by row.`}}},TRANSPOSE:{s:`Converts a vertical range of cells to a horizontal range, or vice versa.`,p:{array:{d:`is a range of cells on a worksheet or an array of values that you want to transpose.`}}},TRIMRANGE:{s:`Trims a range to the last used cell in any direction.`,p:{range:{d:`The range to be trimmed.`},rowTrimMode:{d:`Row trim direction. 0 - none, 1 - leading, 2 - trailing, 3 - both.`},colTrimMode:{d:`Column trim direction. 0 - none. 1 - leading, 2 - trailing, 3 - both.`}}},UNIQUE:{s:`Returns the unique values from a range or array.`,p:{array:{d:`the range or array from which to return unique rows or columns.`},byCol:{d:`is a logical value: compare rows against each other and return the unique rows = FALSE; compare columns against each other and return the unique columns = TRUE.`},exactlyOnce:{d:`is a logical value: return rows or columns that occur exactly once from the array = TRUE; return all distinct rows or columns from the array = FALSE.`}}},VLOOKUP:{s:`Looks for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify. By default, the table must be sorted in an ascending order.`,p:{lookupValue:{d:`is the value to be found in the first column of the table, and can be a value, a reference, or a text string.`},tableArray:{d:`is a table of text, numbers, or logical values, in which data is retrieved. tableArray can be a reference to a range or a range name.`},colIndexNum:{d:`is the column number in tableArray from which the matching value should be returned. The first column of values in the table is column 1.`},rangeLookup:{d:`is a logical value: to find the closest match in the first column (sorted in ascending order) = TRUE; find an exact match = FALSE.`}}},VSTACK:{s:`Vertically stacks arrays into one array.`,p:{array:{d:`An array or reference to be stacked.`}}},WRAPCOLS:{s:`Wraps a row or column vector after a specified number of values.`,p:{vector:{d:`The vector or reference to wrap.`},wrapCount:{d:`The maximum number of values per column.`},padWith:{d:`The value with which to pad. The default is #N/A.`}}},WRAPROWS:{s:`Wraps a row or column vector after a specified number of values.`,p:{vector:{d:`The vector or reference to wrap.`},wrapCount:{d:`The maximum number of values per row.`},padWith:{d:`The value with which to pad. The default is #N/A.`}}},XLOOKUP:{s:`Searches a range or an array for a match and returns the corresponding item from a second range or array. By default, an exact match is used.`,p:{lookupValue:{d:`is the value to search for.`},lookupArray:{d:`is the array or range to search.`},returnArray:{d:`is the array or range to return.`},ifNotFound:{d:`returned if no match is found.`},matchMode:{d:`0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard`},searchMode:{d:`1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc`}}},XMATCH:{s:`Returns the relative position of an item in an array. By default, an exact match is required.`,p:{lookupValue:{d:`is the value to search for.`},lookupArray:{d:`is the array or range to search.`},matchMode:{d:`0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard`},searchMode:{d:`1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc`}}}};
|