@sheetxl/formulas 0.7.26 → 0.7.28-beta.1
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 +136 -12
- package/browser/cjs/1XrWGMP3GmsQOMIX.cjs +1 -0
- package/browser/cjs/49_x589Na12sizKK.cjs +1 -0
- package/browser/cjs/4nReftSsKWmnRdtf.cjs +1 -0
- package/browser/cjs/507hQYooKKjnRzsZ.cjs +1 -0
- package/browser/cjs/BAxVLKkxFgI6cXnR.cjs +1 -0
- package/browser/cjs/BK0SCfN_VZYqBxoQ.cjs +1 -0
- package/browser/cjs/Btc0Nzu40VYOpzLX.cjs +1 -0
- package/browser/cjs/C9C-pr-T_ThweQX9.cjs +1 -0
- package/browser/cjs/CJYewYJ5Z3iojl7J.cjs +1 -0
- package/browser/cjs/CRx1WvmgBjT8WVyB.cjs +1 -0
- package/browser/cjs/CV4KQsHluMqo1I2Q.cjs +1 -0
- package/browser/cjs/CXlzsh_WHCOsErJ1.cjs +1 -0
- package/browser/cjs/CpJJh4UnFl1_qFui.cjs +1 -0
- package/browser/cjs/CrZlUtdX1h2RUnCP.cjs +1 -0
- package/browser/cjs/D8-KovdJ0LjxqCe2.cjs +1 -0
- package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +1 -0
- package/browser/cjs/DDnGLOLTqLFsdUDS.cjs +1 -0
- package/browser/cjs/DG2kqsWRUtVugjay.cjs +1 -0
- package/browser/cjs/DM7-R_ltoLbA9jde.cjs +1 -0
- package/browser/cjs/DNKyaSruDogoBd2H.cjs +1 -0
- package/browser/cjs/Du4jBiFxRIF1OjD4.cjs +1 -0
- package/browser/cjs/EeOVMRq7TuptFKTc.cjs +1 -0
- package/browser/cjs/Kvn916ebqGc4t6hv.cjs +1 -0
- package/browser/cjs/aONv0Ys3C8xmnaR8.cjs +1 -0
- package/browser/cjs/index.cjs +1 -6
- package/browser/cjs/z_rZE1OHFPpdGBh4.cjs +1 -0
- package/browser/esm/B00UnPvEAkPkBES0.mjs +21 -0
- package/browser/esm/BMOy-29kM8QKSXAA.mjs +316 -0
- package/browser/esm/BTwaInIwOYixmjEI.mjs +23 -0
- package/browser/esm/BVcAlvEdsM6nrdMi.mjs +24 -0
- package/browser/esm/BbAe5bgfHEREMZHH.mjs +96 -0
- package/browser/esm/BbxTHuwQRw9Q2Yk4.mjs +382 -0
- package/browser/esm/BdWPkyDEfOSORikD.mjs +28 -0
- package/browser/esm/CDHIW0fz5goCgqWd.mjs +123 -0
- package/browser/esm/CHIg7-M9TGMfmdss.mjs +105 -0
- package/browser/esm/CT2Mx78hoGrtXGGc.mjs +37 -0
- package/browser/esm/CzY0HOXVgv9HM917.mjs +13 -0
- package/browser/esm/D--3bRsKlG0pbw1W.mjs +111 -0
- package/browser/esm/D85giwE9k8tjVhRt.mjs +319 -0
- package/browser/esm/DCo9qXQklIlMDf1F.mjs +12 -0
- package/browser/esm/DXCZWZ7sM3_YT_1j.mjs +146 -0
- package/browser/esm/D_-1XUpmS6dtfCBh.mjs +119 -0
- package/browser/esm/Dft0O81rt55l5ZPx.mjs +22 -0
- package/browser/esm/Dpe3qlV_AVenWc7u.mjs +14 -0
- package/browser/esm/FN6OQFCYtpPy-ZGy.mjs +17 -0
- package/browser/esm/FNQCkMr4-0zUGiVT.mjs +860 -0
- package/browser/esm/YndGL8daSV3kCBM7.mjs +138 -0
- package/browser/esm/index.mjs +13173 -13
- package/browser/esm/lm5NLBN11iNAiJh_.mjs +28 -0
- package/browser/esm/oPZX92aKdMLlSZpq.mjs +15 -0
- package/browser/esm/tq8bbbAwRbbuTwtH.mjs +173 -0
- package/browser/esm/zTYqn0nYRbk30lHy.mjs +144 -0
- package/licenses/dependencies.txt +92 -1
- package/node/esm/B00UnPvEAkPkBES0.mjs +21 -0
- package/node/esm/B1fcULoMBcva83xT.mjs +14 -0
- package/node/esm/BMOy-29kM8QKSXAA.mjs +316 -0
- package/node/esm/BTwaInIwOYixmjEI.mjs +23 -0
- package/node/esm/BVcAlvEdsM6nrdMi.mjs +24 -0
- package/node/esm/BX7yXzCInSe9fUVy.mjs +28 -0
- package/node/esm/BbAe5bgfHEREMZHH.mjs +96 -0
- package/node/esm/BbxTHuwQRw9Q2Yk4.mjs +382 -0
- package/node/esm/BdWPkyDEfOSORikD.mjs +28 -0
- package/node/esm/BhgO3MAcneYe97dY.mjs +13 -0
- package/node/esm/CDHIW0fz5goCgqWd.mjs +123 -0
- package/node/esm/CHIg7-M9TGMfmdss.mjs +105 -0
- package/node/esm/CT2Mx78hoGrtXGGc.mjs +37 -0
- package/node/esm/D--3bRsKlG0pbw1W.mjs +111 -0
- package/node/esm/D8J2HQnvcmSMPRoj.mjs +319 -0
- package/node/esm/DCo9qXQklIlMDf1F.mjs +12 -0
- package/node/esm/DXCZWZ7sM3_YT_1j.mjs +146 -0
- package/node/esm/DXEtJwyiQ0VV4Hhd.mjs +15 -0
- package/node/esm/D_-1XUpmS6dtfCBh.mjs +119 -0
- package/node/esm/Dft0O81rt55l5ZPx.mjs +22 -0
- package/node/esm/FN6OQFCYtpPy-ZGy.mjs +17 -0
- package/node/esm/FNQCkMr4-0zUGiVT.mjs +860 -0
- package/node/esm/YndGL8daSV3kCBM7.mjs +138 -0
- package/node/esm/index.mjs +11091 -13
- package/node/esm/tq8bbbAwRbbuTwtH.mjs +173 -0
- package/node/esm/zTYqn0nYRbk30lHy.mjs +144 -0
- package/package.json +4 -3
- package/resources/contents.json +14 -0
- package/resources/locales/contents.json +9 -0
- package/resources/locales/de/functions.json +298 -0
- package/types/index.d.ts +4 -17
- package/types/src/.generated/decl/database/Database.decl.d.ts +4 -0
- package/types/src/.generated/decl/dateTime/Date.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Bessel.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Bitwise.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Convert.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Engineering.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Error.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Imaginary.decl.d.ts +4 -0
- package/types/src/.generated/decl/information/Information.decl.d.ts +4 -0
- package/types/src/.generated/decl/japanese/Date.decl.d.ts +4 -0
- package/types/src/.generated/decl/japanese/Text.decl.d.ts +4 -0
- package/types/src/.generated/decl/logical/Logical.decl.d.ts +4 -0
- package/types/src/.generated/decl/lookupReference/GroupBy.decl.d.ts +4 -0
- package/types/src/.generated/decl/lookupReference/PivotBy.decl.d.ts +4 -0
- package/types/src/.generated/decl/lookupReference/Reference.decl.d.ts +4 -0
- package/types/src/.generated/decl/mathTrig/Math.decl.d.ts +4 -0
- package/types/src/.generated/decl/mathTrig/Trig.decl.d.ts +4 -0
- package/types/src/.generated/decl/operators/Operators.decl.d.ts +4 -0
- package/types/src/.generated/decl/statistical/Distribution.decl.d.ts +4 -0
- package/types/src/.generated/decl/statistical/Statistical.decl.d.ts +4 -0
- package/types/src/.generated/decl/testing/Testing.decl.d.ts +4 -0
- package/types/src/.generated/decl/text/Text.decl.d.ts +4 -0
- package/types/src/.generated/decl/thai/Text.decl.d.ts +4 -0
- package/types/src/.generated/decl/web/FilterXML.decl.d.ts +4 -0
- package/types/src/.generated/decl/web/Web.decl.d.ts +4 -0
- package/types/src/.generated/desc/database/Database.desc.d.ts +4 -0
- package/types/src/.generated/desc/dateTime/Date.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Bessel.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Bitwise.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Convert.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Engineering.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Error.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Imaginary.desc.d.ts +4 -0
- package/types/src/.generated/desc/information/Information.desc.d.ts +4 -0
- package/types/src/.generated/desc/japanese/Date.desc.d.ts +4 -0
- package/types/src/.generated/desc/japanese/Text.desc.d.ts +4 -0
- package/types/src/.generated/desc/logical/Logical.desc.d.ts +4 -0
- package/types/src/.generated/desc/lookupReference/GroupBy.desc.d.ts +4 -0
- package/types/src/.generated/desc/lookupReference/PivotBy.desc.d.ts +4 -0
- package/types/src/.generated/desc/lookupReference/Reference.desc.d.ts +4 -0
- package/types/src/.generated/desc/mathTrig/Math.desc.d.ts +4 -0
- package/types/src/.generated/desc/mathTrig/Trig.desc.d.ts +4 -0
- package/types/src/.generated/desc/operators/Operators.desc.d.ts +4 -0
- package/types/src/.generated/desc/statistical/Distribution.desc.d.ts +4 -0
- package/types/src/.generated/desc/statistical/Statistical.desc.d.ts +4 -0
- package/types/src/.generated/desc/testing/Testing.desc.d.ts +4 -0
- package/types/src/.generated/desc/text/Text.desc.d.ts +4 -0
- package/types/src/.generated/desc/thai/Text.desc.d.ts +4 -0
- package/types/src/.generated/desc/web/FilterXML.desc.d.ts +4 -0
- package/types/src/.generated/desc/web/Web.desc.d.ts +4 -0
- package/types/src/.generated/index.d.ts +7 -0
- package/types/src/_utils/AggregateIFS.d.ts +39 -0
- package/types/src/_utils/Consts.d.ts +14 -0
- package/types/src/_utils/Errors.d.ts +33 -0
- package/types/src/_utils/ReduceIf.d.ts +26 -0
- package/types/src/database/Database.d.ts +86 -0
- package/types/src/dateTime/Date.d.ts +139 -0
- package/types/src/engineering/Bessel.d.ts +26 -0
- package/types/src/engineering/Bitwise.d.ts +101 -0
- package/types/src/engineering/Convert.d.ts +9 -0
- package/types/src/engineering/Engineering.d.ts +14 -0
- package/types/src/engineering/Error.d.ts +25 -0
- package/types/src/engineering/Imaginary.d.ts +155 -0
- package/types/src/information/Information.d.ts +166 -0
- package/types/src/japanese/Date.d.ts +15 -0
- package/types/src/japanese/Text.d.ts +8 -0
- package/types/src/logical/Logical.d.ts +133 -0
- package/types/src/lookupReference/GroupBy.d.ts +19 -0
- package/types/src/lookupReference/PivotBy.d.ts +24 -0
- package/types/src/lookupReference/Reference.d.ts +296 -0
- package/types/src/mathTrig/Math.d.ts +430 -0
- package/types/src/mathTrig/Trig.d.ts +107 -0
- package/types/src/operators/Operators.d.ts +107 -0
- package/types/src/statistical/Distribution.d.ts +858 -0
- package/types/src/statistical/Statistical.d.ts +165 -0
- package/types/src/testing/Testing.d.ts +28 -0
- package/types/src/text/Text.d.ts +312 -0
- package/types/src/thai/Text.d.ts +8 -0
- package/types/src/web/FilterXML.d.ts +8 -0
- package/types/src/web/Web.d.ts +11 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = { BAHTTEXT: {
|
|
8
|
+
s: "Converts a number to baht (Thai) text.",
|
|
9
|
+
c: "Baht",
|
|
10
|
+
p: { number: { d: "is the number to convert." } },
|
|
11
|
+
h: "Thai"
|
|
12
|
+
} };
|
|
13
|
+
export { e as default };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
CELL: {
|
|
9
|
+
s: "Returns information about the cell.",
|
|
10
|
+
p: {
|
|
11
|
+
infoType: { d: "The type of information to return." },
|
|
12
|
+
reference: {}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"ERROR.TYPE": {
|
|
16
|
+
s: "Returns a number matching an error value.",
|
|
17
|
+
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." } }
|
|
18
|
+
},
|
|
19
|
+
INFO: {
|
|
20
|
+
s: "Returns information about the current operating system.",
|
|
21
|
+
p: { typeText: { d: "The type of information to return." } }
|
|
22
|
+
},
|
|
23
|
+
ISBLANK: {
|
|
24
|
+
s: "Checks whether a reference is to an empty cell, and returns TRUE or FALSE.",
|
|
25
|
+
p: { value: { d: "is the cell or a name that refers to the cell you want to test." } }
|
|
26
|
+
},
|
|
27
|
+
ISDATE: {
|
|
28
|
+
s: "Returns TRUE if the value is a date.",
|
|
29
|
+
c: "Sheets",
|
|
30
|
+
p: { value: { d: "The value to check." } }
|
|
31
|
+
},
|
|
32
|
+
ISEMAIL: {
|
|
33
|
+
s: "Returns TRUE if the value is a valid email address.",
|
|
34
|
+
c: "Sheets",
|
|
35
|
+
p: { value: { d: "The value to check." } }
|
|
36
|
+
},
|
|
37
|
+
ISERR: {
|
|
38
|
+
s: "Checks whether a value is an error other than #N/A, and returns TRUE or FALSE.",
|
|
39
|
+
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." } }
|
|
40
|
+
},
|
|
41
|
+
ISERROR: {
|
|
42
|
+
s: "Checks whether a value is an error, and returns TRUE or FALSE",
|
|
43
|
+
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" } }
|
|
44
|
+
},
|
|
45
|
+
ISEVEN: {
|
|
46
|
+
s: "Returns TRUE if the number is even.",
|
|
47
|
+
p: { number: { d: "is the value to test." } }
|
|
48
|
+
},
|
|
49
|
+
ISFORMULA: {
|
|
50
|
+
s: "Checks whether a reference is to a cell containing a formula, and returns TRUE or FALSE.",
|
|
51
|
+
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." } }
|
|
52
|
+
},
|
|
53
|
+
ISLOGICAL: {
|
|
54
|
+
s: "Checks whether a value is a logical value (TRUE or FALSE), and returns TRUE or FALSE.",
|
|
55
|
+
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." } }
|
|
56
|
+
},
|
|
57
|
+
ISNA: {
|
|
58
|
+
s: "Checks whether a value is #N/A, and returns TRUE or FALSE.",
|
|
59
|
+
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." } }
|
|
60
|
+
},
|
|
61
|
+
ISNONTEXT: {
|
|
62
|
+
s: "Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.",
|
|
63
|
+
p: { value: { d: "is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value." } }
|
|
64
|
+
},
|
|
65
|
+
ISNUMBER: {
|
|
66
|
+
s: "Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.",
|
|
67
|
+
p: { value: { d: "is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value." } }
|
|
68
|
+
},
|
|
69
|
+
ISODD: {
|
|
70
|
+
s: "Returns TRUE if the number is odd.",
|
|
71
|
+
p: { number: { d: "is the value to test." } }
|
|
72
|
+
},
|
|
73
|
+
ISOMITTED: {
|
|
74
|
+
s: "Checks whether the value is omitted, and returns TRUE or FALSE.",
|
|
75
|
+
p: { argument: { d: "is the value you want to test, such as a LAMBDA parameter." } }
|
|
76
|
+
},
|
|
77
|
+
ISURL: {
|
|
78
|
+
s: "Returns TRUE if the value is a valid HTTP or HTTPS URL.",
|
|
79
|
+
c: "Sheets",
|
|
80
|
+
p: { value: { d: "The value to check." } }
|
|
81
|
+
},
|
|
82
|
+
ISREF: {
|
|
83
|
+
s: "Checks whether a value is a reference, and returns TRUE or FALSE.",
|
|
84
|
+
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." } }
|
|
85
|
+
},
|
|
86
|
+
ISTEXT: {
|
|
87
|
+
s: "Converts a value to text in a specific number format.",
|
|
88
|
+
p: { value: { d: "is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value." } }
|
|
89
|
+
},
|
|
90
|
+
N: {
|
|
91
|
+
s: "Converts non-number value to a number, dates to serial numbers, TRUE to 1, anything else to 0 (zero).",
|
|
92
|
+
p: { value: { d: "is the value to convert." } }
|
|
93
|
+
},
|
|
94
|
+
NA: {
|
|
95
|
+
s: "Returns the #N/A error value",
|
|
96
|
+
p: {}
|
|
97
|
+
},
|
|
98
|
+
SHEET: {
|
|
99
|
+
s: "Returns the sheet number of the referenced sheet.",
|
|
100
|
+
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." } }
|
|
101
|
+
},
|
|
102
|
+
SHEETS: {
|
|
103
|
+
s: "Returns the number of sheets in a reference.",
|
|
104
|
+
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." } }
|
|
105
|
+
},
|
|
106
|
+
TYPE: {
|
|
107
|
+
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.",
|
|
108
|
+
p: { value: { d: "is the value to check." } }
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
export { e as default };
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
ASC: {
|
|
9
|
+
s: "Converts a string to full-width characters to half-width. Uses the double-byte character set (DBCS).",
|
|
10
|
+
p: { text: { d: "is a text or a reference to a cell containing text." } },
|
|
11
|
+
h: "DBCS"
|
|
12
|
+
},
|
|
13
|
+
ARRAYTOTEXT: {
|
|
14
|
+
s: "Returns a text representation of an array.",
|
|
15
|
+
p: {
|
|
16
|
+
array: { d: "the array to represent as text." },
|
|
17
|
+
format: { d: "0 for relaxed format, 1 for strict format." }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
CHAR: {
|
|
21
|
+
s: "Returns the character specified by the code number from the character set for your computer.",
|
|
22
|
+
p: { number: { d: "is a number between 1 and 255 specifying which character you want." } }
|
|
23
|
+
},
|
|
24
|
+
CLEAN: {
|
|
25
|
+
s: "Removes all nonprintable characters from text.",
|
|
26
|
+
p: { text: { d: "is the text you want to clean." } }
|
|
27
|
+
},
|
|
28
|
+
CODE: {
|
|
29
|
+
s: "Returns the Unicode value of the first character in a text string.",
|
|
30
|
+
p: { text: { d: "is the text string whose Unicode value you want." } }
|
|
31
|
+
},
|
|
32
|
+
CONCAT: {
|
|
33
|
+
s: "Concatenates a list or range of text strings.",
|
|
34
|
+
p: { text: { d: "are 1 to 252 text strings or ranges to be joined." } }
|
|
35
|
+
},
|
|
36
|
+
CONCATENATE: {
|
|
37
|
+
s: "Joins several text strings into one text string.",
|
|
38
|
+
c: "Compatibility",
|
|
39
|
+
p: { text: { d: "is the first text string or range to be joined." } }
|
|
40
|
+
},
|
|
41
|
+
DETECTLANGUAGE: {
|
|
42
|
+
s: "Detects the language of a given text.",
|
|
43
|
+
p: { text: { d: "is the text to detect the language for." } },
|
|
44
|
+
h: "Unimplemented Connectivity"
|
|
45
|
+
},
|
|
46
|
+
DBCS: {
|
|
47
|
+
s: "Changes half-width characters to full-width characters. Uses the double-byte character set (DBCS).",
|
|
48
|
+
p: { text: { d: "is a text or a reference to a cell containing text." } },
|
|
49
|
+
h: "DBCS"
|
|
50
|
+
},
|
|
51
|
+
DOLLAR: {
|
|
52
|
+
s: "Converts a number to text in currency format.",
|
|
53
|
+
p: {
|
|
54
|
+
number: { d: "is the number to convert." },
|
|
55
|
+
decimals: { d: "is the number of digits to the right of the decimal point." }
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
EXACT: {
|
|
59
|
+
s: "Checks whether two text strings are exactly the same, and returns TRUE or FALSE. EXACT is case-sensitive.",
|
|
60
|
+
p: {
|
|
61
|
+
text1: { d: "is the first text string." },
|
|
62
|
+
text2: { d: "is the second text string." }
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
FIND: {
|
|
66
|
+
s: "Returns the starting position of one text string within another text string. FIND is case-sensitive.",
|
|
67
|
+
p: {
|
|
68
|
+
findText: { d: "Returns the starting position of one text string within another text string. FIND is case-sensitive." },
|
|
69
|
+
withinText: { d: "is the text you want to search." },
|
|
70
|
+
startNum: { d: "specifies the character at which to start the search. The first character in withinText is character number 1." }
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
FINDB: {
|
|
74
|
+
s: "Finds the starting position of one text string with another text string. FINDB is case-sensitive. Use with double-byte characters.",
|
|
75
|
+
p: {
|
|
76
|
+
findText: { d: "is the text you want to find." },
|
|
77
|
+
withinText: { d: "is the text you want to search." },
|
|
78
|
+
startNum: { d: "is the position in withinText to start searching." }
|
|
79
|
+
},
|
|
80
|
+
h: "DBCS"
|
|
81
|
+
},
|
|
82
|
+
FIXED: {
|
|
83
|
+
s: "Rounds a number to the specified number of decimals and returns the result as text with or without commas",
|
|
84
|
+
p: {
|
|
85
|
+
number: { d: "is the number you want to round and convert to text." },
|
|
86
|
+
decimals: { d: "is the number of digits to the right of the decimal point." },
|
|
87
|
+
noCommas: { d: "is a logical value: do not display commas in the returned text = TRUE; do display commas in the returned text = FALSE." }
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
JOIN: {
|
|
91
|
+
s: "Concatenates elements of an array or range with a delimiter.",
|
|
92
|
+
c: "Sheets",
|
|
93
|
+
p: {
|
|
94
|
+
delimiter: { d: "The delimiter to place between values." },
|
|
95
|
+
value: { d: "The array or range to join." }
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
LEFT: {
|
|
99
|
+
s: "Returns the specified number of characters from the start of a text string.",
|
|
100
|
+
p: {
|
|
101
|
+
text: { d: "is the text string from which you want to extract characters." },
|
|
102
|
+
numChars: { d: "specifies how many characters you want LEFT to extract." }
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
LEFTB: {
|
|
106
|
+
s: "Returns the leftmost numBytes characters from text. Uses double-byte characters.",
|
|
107
|
+
p: {
|
|
108
|
+
text: { d: "is the text string from which you want to extract characters." },
|
|
109
|
+
numBytes: { d: "is the number of bytes to extract." }
|
|
110
|
+
},
|
|
111
|
+
h: "DBCS"
|
|
112
|
+
},
|
|
113
|
+
LEN: {
|
|
114
|
+
s: "Returns the number of characters in a text string.",
|
|
115
|
+
p: { text: { d: "is the text whose length you want to find. Spaces count as characters." } }
|
|
116
|
+
},
|
|
117
|
+
LENB: {
|
|
118
|
+
s: "Returns the number of bytes in a text string. Uses double-byte characters.",
|
|
119
|
+
p: { text: { d: "is the text string from which you want to extract characters." } }
|
|
120
|
+
},
|
|
121
|
+
LOWER: {
|
|
122
|
+
s: "Converts all letters in a text string to lowercase.",
|
|
123
|
+
p: { text: { d: "is the text you want to convert to lowercase. Characters in Text that are not letters are not changed." } }
|
|
124
|
+
},
|
|
125
|
+
MID: {
|
|
126
|
+
s: "Returns the characters from the middle of a text string, given a starting position and length.",
|
|
127
|
+
p: {
|
|
128
|
+
text: { d: "is the text string from which you want to extract characters." },
|
|
129
|
+
startNum: { d: "is the position of the first character you want to extract." },
|
|
130
|
+
numChars: { d: "specifies how many characters to return from Text." }
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
MIDB: {
|
|
134
|
+
s: "Returns characters from the middle of a text string. Uses double-byte characters.",
|
|
135
|
+
p: {
|
|
136
|
+
text: { d: "is the text string from which you want to extract characters." },
|
|
137
|
+
startNum: { d: "is the position of the first character you want to extract." },
|
|
138
|
+
numBytes: { d: "is the number of bytes to extract." }
|
|
139
|
+
},
|
|
140
|
+
h: "DBCS"
|
|
141
|
+
},
|
|
142
|
+
NUMBERVALUE: {
|
|
143
|
+
s: "Converts text to number in a locale-independent manner.",
|
|
144
|
+
p: {
|
|
145
|
+
text: { d: "is the text string you want to convert." },
|
|
146
|
+
decimalSeparator: { d: "is the character that separates the integer part from the decimal part of the number." },
|
|
147
|
+
groupSeparator: { d: "is the character that separates groups of thousands." }
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
PROPER: {
|
|
151
|
+
s: "Converts the first letter of each word in a text string to uppercase.",
|
|
152
|
+
p: { text: { d: "is the text string you want to convert." } }
|
|
153
|
+
},
|
|
154
|
+
REPLACE: {
|
|
155
|
+
s: "Replaces part of a text string with a different text string.",
|
|
156
|
+
p: {
|
|
157
|
+
oldText: { d: "is the text string to be changed." },
|
|
158
|
+
startNum: { d: "is the position of the first character you want to replace." },
|
|
159
|
+
numChars: { d: "is the number of characters to replace." },
|
|
160
|
+
newText: { d: "is the text string that will replace oldText." }
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
REPLACEB: {
|
|
164
|
+
s: "Replaces part of a text string with a different text string using the number of bytes. Uses the double-byte character set (DBCS).",
|
|
165
|
+
p: {
|
|
166
|
+
oldText: { d: "is the text string to be changed." },
|
|
167
|
+
startNum: { d: "is the position of the first character you want to replace." },
|
|
168
|
+
numBytes: { d: "is the number of bytes to replace." },
|
|
169
|
+
newText: { d: "is the text string that will replace oldText." }
|
|
170
|
+
},
|
|
171
|
+
h: "DBCS"
|
|
172
|
+
},
|
|
173
|
+
REPT: {
|
|
174
|
+
s: "Repeats text a given number of times.",
|
|
175
|
+
p: {
|
|
176
|
+
text: { d: "is the text you want to repeat." },
|
|
177
|
+
numberTimes: { d: "is the number of times you want to repeat text." }
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
RIGHT: {
|
|
181
|
+
s: "Returns the specified number of characters from the end of a text string.",
|
|
182
|
+
p: {
|
|
183
|
+
text: { d: "is the text string that contains the characters you want to extract." },
|
|
184
|
+
numChars: { d: "specifies how many characters you want to extract." }
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
RIGHTB: {
|
|
188
|
+
s: "Returns the rightmost numBytes characters from text. Uses double-byte characters.",
|
|
189
|
+
p: {
|
|
190
|
+
text: { d: "is the text string from which you want to extract characters." },
|
|
191
|
+
numBytes: { d: "is the number of bytes to extract." }
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
SEARCH: {
|
|
195
|
+
s: "Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive).",
|
|
196
|
+
p: {
|
|
197
|
+
findText: { d: "is the text you want to find." },
|
|
198
|
+
withinText: { d: "is the text in which you want to search for findText." },
|
|
199
|
+
startNum: { d: "is the character number in withinText, counting from the left, at which you want to start searching." }
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
SEARCHB: {
|
|
203
|
+
s: "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).",
|
|
204
|
+
p: {
|
|
205
|
+
findText: { d: "is the text you want to find." },
|
|
206
|
+
withinText: { d: "is the text in which you want to search for findText." },
|
|
207
|
+
startBytes: { d: "is the character number in withinText, counting from the left, at which you want to start searching." }
|
|
208
|
+
},
|
|
209
|
+
h: "DBCS"
|
|
210
|
+
},
|
|
211
|
+
SPLIT: {
|
|
212
|
+
s: "Splits text around a specified delimiter.",
|
|
213
|
+
c: "Sheets",
|
|
214
|
+
p: {
|
|
215
|
+
text: { d: "The text to split." },
|
|
216
|
+
delimiter: { d: "The character or string to split around." },
|
|
217
|
+
splitByEach: { d: "Whether to split around each character in delimiter individually. Default TRUE." },
|
|
218
|
+
removeEmptyText: { d: "Whether to remove empty strings from results. Default TRUE." }
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
SUBSTITUTE: {
|
|
222
|
+
s: "Replaces existing text with new text in a text string.",
|
|
223
|
+
p: {
|
|
224
|
+
text: { d: "is the text or the reference to a cell containing text in which you want to substitute characters." },
|
|
225
|
+
oldText: { d: "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." },
|
|
226
|
+
newText: { d: "is the text you want to replace oldText with." },
|
|
227
|
+
instanceNum: { d: "specifies which occurrence of oldText you want to replace. If omitted, every instance of oldText is replaced." }
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
T: {
|
|
231
|
+
s: "Checks whether a value is text, and returns the text if it is, or returns double quotes (empty text) if it is not.",
|
|
232
|
+
p: { value: { d: "is the value to test." } }
|
|
233
|
+
},
|
|
234
|
+
TEXT: {
|
|
235
|
+
s: "Converts a value to text in a specific number format.",
|
|
236
|
+
p: {
|
|
237
|
+
value: { d: "is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value." },
|
|
238
|
+
formatText: { d: "is a text string that defines the number format to use." }
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
TEXTAFTER: {
|
|
242
|
+
s: "Returns text that's after delimiting characters.",
|
|
243
|
+
p: {
|
|
244
|
+
text: { d: "The text you want to search for the delimiter." },
|
|
245
|
+
delimiter: { d: "The character or string to use as a delimiter." },
|
|
246
|
+
instanceNum: { d: "The desired occurrence of delimiter. The default is 1. A negative number searches from the end." },
|
|
247
|
+
matchMode: { d: "Searches the text for a delimiter match. By default, a case-sensitive match is done." },
|
|
248
|
+
matchEnd: { d: "Whether to match the delimiter against the end of text. By default, they're not matched." },
|
|
249
|
+
ifNotFound: { d: "Returned if no match is found. By default, #N/A is returned." }
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
TEXTBEFORE: {
|
|
253
|
+
s: "Returns text that's before delimiting characters.",
|
|
254
|
+
p: {
|
|
255
|
+
text: { d: "The text you want to search for the delimiter." },
|
|
256
|
+
delimiter: { d: "The character or string to use as a delimiter." },
|
|
257
|
+
instanceNum: { d: "The desired occurrence of delimiter. The default is 1. A negative number searches from the end." },
|
|
258
|
+
matchMode: { d: "Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)." },
|
|
259
|
+
matchEnd: { d: "Whether to match the delimiter against the end of text. By default, they're not matched." },
|
|
260
|
+
ifNotFound: { d: "Returned if no match is found. By default, #N/A is returned." }
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
TEXTJOIN: {
|
|
264
|
+
s: "Concatenates a list or range of text strings using a delimiter.",
|
|
265
|
+
p: {
|
|
266
|
+
delimiter: { d: "Character or string to insert between each text item." },
|
|
267
|
+
ignoreEmpty: { d: "if TRUE(default), ignores empty cells." },
|
|
268
|
+
text: { d: "are 1 to 252 text strings or ranges to be joined." }
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
TEXTSPLIT: {
|
|
272
|
+
s: "Splits text into rows or columns using delimiters.",
|
|
273
|
+
p: {
|
|
274
|
+
text: { d: "The text to split." },
|
|
275
|
+
colDelimiter: { d: "The column delimiter(s) - can be string or array of strings." },
|
|
276
|
+
rowDelimiter: { d: "The row delimiter(s), null/undefined means no row splitting." },
|
|
277
|
+
ignoreEmpty: { d: "Whether to ignore empty values (defaults to `false`)." },
|
|
278
|
+
matchMode: { d: "Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)." },
|
|
279
|
+
padWith: { d: "Value to use for padding if matrix is uneven (defaults to `#N/A`)." }
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
TRANSLATE: {
|
|
283
|
+
s: "Translate a text string from one language to another using the Microsoft Translator service.",
|
|
284
|
+
p: {
|
|
285
|
+
text: { d: "The text to translate." },
|
|
286
|
+
sourceLanguage: { d: "Specifiy the source language your text is currently in. Expressed as a two-letter language code." },
|
|
287
|
+
targetLanguage: { d: "Specifiy the source language you want your text to be translated to. Expressed as a two-letter language code." }
|
|
288
|
+
},
|
|
289
|
+
h: "Unsupported Connectivity"
|
|
290
|
+
},
|
|
291
|
+
TRIM: {
|
|
292
|
+
s: "Removes all spaces from text except for single spaces between words.",
|
|
293
|
+
p: { text: { d: "The text from which you want to remove extra spaces." } }
|
|
294
|
+
},
|
|
295
|
+
UNICHAR: {
|
|
296
|
+
s: "Returns the Unicode character referenced by the given numeric value.",
|
|
297
|
+
p: { number: { d: "is the Unicode number representing a character." } }
|
|
298
|
+
},
|
|
299
|
+
UNICODE: {
|
|
300
|
+
s: "Returns the number (code point) corresponding to the first character of the text.",
|
|
301
|
+
p: { text: { d: "is the character that you want the Unicode value of." } }
|
|
302
|
+
},
|
|
303
|
+
UPPER: {
|
|
304
|
+
s: "Converts a text string to all uppercase letters.",
|
|
305
|
+
p: { text: { d: "is the text you want converted to uppercase, a reference or a text string." } }
|
|
306
|
+
},
|
|
307
|
+
VALUE: {
|
|
308
|
+
s: "Converts a text string that represents a number to a number.",
|
|
309
|
+
p: { text: { d: "is the text enclosed in quotation marks or a reference to a cell containing the text you want to convert." } }
|
|
310
|
+
},
|
|
311
|
+
VALUETOTEXT: {
|
|
312
|
+
s: "Returns a text representation of a value.",
|
|
313
|
+
p: {
|
|
314
|
+
value: { d: "the value to represent as text." },
|
|
315
|
+
format: { d: "the format of the text." }
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
export { e as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = { PHONETIC: {
|
|
8
|
+
s: "Returns the phonetic spelling of a text string.",
|
|
9
|
+
p: { reference: { d: "Text string or a reference to a single cell or a range of cells that contain a furigana text string." } },
|
|
10
|
+
h: "Unimplemented Japanese."
|
|
11
|
+
} };
|
|
12
|
+
export { e as default };
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
AND: {
|
|
9
|
+
s: "Checks whether all arguments are TRUE, and returns TRUE if all arguments are TRUE.",
|
|
10
|
+
p: { logical: { d: "are 1 to 255 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references." } }
|
|
11
|
+
},
|
|
12
|
+
BYCOL: {
|
|
13
|
+
s: "Applies a LAMBDA function to each column and returns an array of the results.",
|
|
14
|
+
p: {
|
|
15
|
+
array: { d: "is an array to be separated by column." },
|
|
16
|
+
fn: { d: "is a LAMBDA that takes a column as its single parameter and returns one result for it." }
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
BYROW: {
|
|
20
|
+
s: "Applies a LAMBDA function to each row and returns an array of the results.",
|
|
21
|
+
p: {
|
|
22
|
+
array: { d: "is an array to be separated by row." },
|
|
23
|
+
fn: { d: "is a LAMBDA that takes a row as its single parameter and returns one result for it." }
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
FALSE: {
|
|
27
|
+
s: "Returns the logical value FALSE.",
|
|
28
|
+
p: {}
|
|
29
|
+
},
|
|
30
|
+
FLATTEN: {
|
|
31
|
+
s: "Flattens all the values from one or more ranges into a single column.",
|
|
32
|
+
c: "Sheets",
|
|
33
|
+
p: { ranges: { d: "One or more ranges or scalar values to flatten." } }
|
|
34
|
+
},
|
|
35
|
+
IF: {
|
|
36
|
+
s: "Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE.",
|
|
37
|
+
p: {
|
|
38
|
+
logicalTest: { d: "is any value or expression that can be evaluated to TRUE or FALSE." },
|
|
39
|
+
valueIfTrue: { d: "is the value that is returned if logicalTest is TRUE. If omitted, TRUE is returned. You can nest up to seven IF functions." },
|
|
40
|
+
valueIfFalse: { d: "is the value that is returned if logicalTest is FALSE. If omitted, FALSE is returned." }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
IFERROR: {
|
|
44
|
+
s: "Returns valueIfError if expression is an error and the value of the expression itself otherwise.",
|
|
45
|
+
p: {
|
|
46
|
+
value: { d: "is any value or expression or reference." },
|
|
47
|
+
valueIfError: { d: "is any value or expression or reference." }
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
IFNA: {
|
|
51
|
+
s: "Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression.",
|
|
52
|
+
p: {
|
|
53
|
+
value: { d: "is any value or expression or reference." },
|
|
54
|
+
valueIfNA: { d: "is any value or expression or reference." }
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
IFS: {
|
|
58
|
+
s: "Checks whether one or more conditions are met and returns a value corresponding to the first TRUE condition.",
|
|
59
|
+
p: {
|
|
60
|
+
condition: { d: "the conditions to test and the values to return for them." },
|
|
61
|
+
"condition.logicalTest": { d: "is any value or expression that can be evaluated to TRUE or FALSE." },
|
|
62
|
+
"condition.logicalTrue": { d: "is the value returned if logicalTest is TRUE." }
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
LAMBDA: {
|
|
66
|
+
s: "Creates a function value which can be called within formulas.",
|
|
67
|
+
p: { parameterOrCalculation: { d: "a parameter or a calculation that returns a value. If a parameter, it must be the last argument." } }
|
|
68
|
+
},
|
|
69
|
+
LET: {
|
|
70
|
+
s: "Assigns calculation results to names. Useful for storing intermediate calculations and values by defining names inside a formula. These names only apply within the scope of the LET function.",
|
|
71
|
+
p: {
|
|
72
|
+
name: { d: "the name, or a calculation which can make use of all names within the LET. Names must start with a letter, cannot be the output of a formula, or conflict with range syntax." },
|
|
73
|
+
nameOrValue: { d: "the value associated with the name." },
|
|
74
|
+
calculationOrName: {},
|
|
75
|
+
rest: {}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
MAKEARRAY: {
|
|
79
|
+
s: "Returns a calculated array of a specified row and column size, by applying a LAMBDA function.",
|
|
80
|
+
p: {
|
|
81
|
+
rows: { d: "is the number of rows in the array. Must be greater than zero." },
|
|
82
|
+
columns: { d: "is the number of columns in the array. Must be greater than zero." },
|
|
83
|
+
fn: { d: "is a LAMBDA that is called to create the array. The LAMBDA takes two parameters, row index and column index." }
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
MAP: {
|
|
87
|
+
s: "Returns an array formed by 'mapping' each value in the array(s) to a new value by applying a lambda to create a new value.",
|
|
88
|
+
p: {
|
|
89
|
+
array: { d: "is an array to be mapped." },
|
|
90
|
+
lambdaOrArray: { d: "is a LAMBDA which must be the last argument and must have a parameter for each array passed, or another array to be mapped." }
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
NOT: {
|
|
94
|
+
s: "Changes FALSE to TRUE, or TRUE to FALSE.",
|
|
95
|
+
p: { logical: { d: "is a value or expression that can be evaluated to TRUE or FALSE." } }
|
|
96
|
+
},
|
|
97
|
+
OR: {
|
|
98
|
+
s: "Checks whether any of the arguments are TRUE, and returns TRUE or FALSE. Returns FALSE only if all arguments are FALSE.",
|
|
99
|
+
p: { logical: { d: "are 1 to 255 conditions that you want to test that can be either TRUE or FALSE." } }
|
|
100
|
+
},
|
|
101
|
+
REDUCE: {
|
|
102
|
+
s: "Reduces an array to an accumulated value by applying a LAMBDA function to each value and returning the total value in the accumulator.",
|
|
103
|
+
p: {
|
|
104
|
+
initialValue: { d: "is the starting value for the accumulator." },
|
|
105
|
+
array: { d: "is an array to be reduced." },
|
|
106
|
+
fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." }
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
REDUCEIF: {
|
|
110
|
+
s: "Reduces the cells specified by a given condition or criteria.",
|
|
111
|
+
c: "SheetXL",
|
|
112
|
+
p: {
|
|
113
|
+
range: { d: "is the range of cells you want evaluated." },
|
|
114
|
+
criteria: { d: "is the condition or criteria in the form of a number, expression, or text that defines which cells will be reduced." },
|
|
115
|
+
reduceRange: { d: "are the actual cells to reduce. If omitted, the cells in range are used. This can be blank." },
|
|
116
|
+
fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." }
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
SCAN: {
|
|
120
|
+
s: "Scans an array by applying a LAMBDA function to each value and returns an array that has each intermediate value.",
|
|
121
|
+
p: {
|
|
122
|
+
initialValue: { d: "is the starting value for the accumulator." },
|
|
123
|
+
array: { d: "is an array to be reduced." },
|
|
124
|
+
fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." }
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
SWITCH: {
|
|
128
|
+
s: "Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value is returned.",
|
|
129
|
+
p: {
|
|
130
|
+
expression: { d: "is an expression to be evaluated." },
|
|
131
|
+
match: { d: "the values to compare against expression and the results to return for them." },
|
|
132
|
+
"match.value": { d: "is a value to compare against expression." },
|
|
133
|
+
"match.result": { d: "is a result to be returned if the corresponding value matches expression." },
|
|
134
|
+
defaultResult: { d: "is the result to be returned when no value matches expression." }
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
TRUE: {
|
|
138
|
+
s: "Returns the logical value TRUE.",
|
|
139
|
+
p: {}
|
|
140
|
+
},
|
|
141
|
+
XOR: {
|
|
142
|
+
s: "Returns a logical 'Exclusive Or' of all arguments.",
|
|
143
|
+
p: { logical: { d: "are 1 to 254 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references." } }
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
export { e as default };
|