@univerjs/sheets-formula 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +4 -4
- package/lib/es/index.js +328 -236
- package/lib/locale/en-US.json +201 -169
- package/lib/locale/ru-RU.json +201 -169
- package/lib/locale/vi-VN.json +496 -44
- package/lib/locale/zh-CN.json +209 -177
- package/lib/locale/zh-TW.json +213 -181
- package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +6 -6
- package/lib/types/common/plugin-name.d.ts +1 -1
- package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +1 -1
- package/lib/types/controllers/prompt.controller.d.ts +7 -6
- package/lib/types/controllers/utils/ref-range-formula.d.ts +6 -0
- package/lib/types/formula-ui-plugin.d.ts +3 -3
- package/lib/types/locale/en-US.d.ts +103 -71
- package/lib/types/locale/function-list/logical/en-US.d.ts +22 -10
- package/lib/types/locale/function-list/logical/ja-JP.d.ts +22 -10
- package/lib/types/locale/function-list/logical/vi-VN.d.ts +22 -10
- package/lib/types/locale/function-list/logical/zh-CN.d.ts +22 -10
- package/lib/types/locale/function-list/logical/zh-TW.d.ts +22 -10
- package/lib/types/locale/function-list/lookup/en-US.d.ts +46 -14
- package/lib/types/locale/function-list/lookup/ja-JP.d.ts +46 -14
- package/lib/types/locale/function-list/lookup/vi-VN.d.ts +126 -4
- package/lib/types/locale/function-list/lookup/zh-CN.d.ts +46 -14
- package/lib/types/locale/function-list/lookup/zh-TW.d.ts +46 -14
- package/lib/types/locale/function-list/math/en-US.d.ts +35 -47
- package/lib/types/locale/function-list/math/ja-JP.d.ts +35 -47
- package/lib/types/locale/function-list/math/vi-VN.d.ts +276 -0
- package/lib/types/locale/function-list/math/zh-CN.d.ts +35 -47
- package/lib/types/locale/function-list/math/zh-TW.d.ts +35 -47
- package/lib/types/locale/ru-RU.d.ts +103 -71
- package/lib/types/locale/vi-VN.d.ts +424 -14
- package/lib/types/locale/zh-CN.d.ts +103 -71
- package/lib/types/locale/zh-TW.d.ts +103 -71
- package/lib/types/services/description.service.d.ts +1 -1
- package/lib/types/services/prompt.service.d.ts +1 -1
- package/lib/types/services/register-function.service.d.ts +1 -1
- package/lib/types/services/remote/remote-register-function.service.d.ts +1 -1
- package/lib/types/views/more-functions/interface.d.ts +1 -1
- package/lib/umd/index.js +4 -4
- package/package.json +26 -24
package/lib/locale/ru-RU.json
CHANGED
|
@@ -2502,13 +2502,13 @@
|
|
|
2502
2502
|
}
|
|
2503
2503
|
],
|
|
2504
2504
|
"functionParameter": {
|
|
2505
|
-
"
|
|
2506
|
-
"name": "
|
|
2507
|
-
"detail": "
|
|
2505
|
+
"number": {
|
|
2506
|
+
"name": "number",
|
|
2507
|
+
"detail": "The number of items."
|
|
2508
2508
|
},
|
|
2509
|
-
"
|
|
2510
|
-
"name": "
|
|
2511
|
-
"detail": "
|
|
2509
|
+
"numberChosen": {
|
|
2510
|
+
"name": "number_chosen",
|
|
2511
|
+
"detail": "The number of items in each combination."
|
|
2512
2512
|
}
|
|
2513
2513
|
}
|
|
2514
2514
|
},
|
|
@@ -2522,13 +2522,13 @@
|
|
|
2522
2522
|
}
|
|
2523
2523
|
],
|
|
2524
2524
|
"functionParameter": {
|
|
2525
|
-
"
|
|
2526
|
-
"name": "
|
|
2527
|
-
"detail": "
|
|
2525
|
+
"number": {
|
|
2526
|
+
"name": "number",
|
|
2527
|
+
"detail": "The number of items."
|
|
2528
2528
|
},
|
|
2529
|
-
"
|
|
2530
|
-
"name": "
|
|
2531
|
-
"detail": "
|
|
2529
|
+
"numberChosen": {
|
|
2530
|
+
"name": "number_chosen",
|
|
2531
|
+
"detail": "The number of items in each combination."
|
|
2532
2532
|
}
|
|
2533
2533
|
}
|
|
2534
2534
|
},
|
|
@@ -2706,13 +2706,9 @@
|
|
|
2706
2706
|
}
|
|
2707
2707
|
],
|
|
2708
2708
|
"functionParameter": {
|
|
2709
|
-
"
|
|
2710
|
-
"name": "
|
|
2711
|
-
"detail": "
|
|
2712
|
-
},
|
|
2713
|
-
"number2": {
|
|
2714
|
-
"name": "number2",
|
|
2715
|
-
"detail": "second"
|
|
2709
|
+
"number": {
|
|
2710
|
+
"name": "number",
|
|
2711
|
+
"detail": "The nonnegative number for which you want the factorial. If number is not an integer, it is truncated."
|
|
2716
2712
|
}
|
|
2717
2713
|
}
|
|
2718
2714
|
},
|
|
@@ -2726,13 +2722,9 @@
|
|
|
2726
2722
|
}
|
|
2727
2723
|
],
|
|
2728
2724
|
"functionParameter": {
|
|
2729
|
-
"
|
|
2730
|
-
"name": "
|
|
2731
|
-
"detail": "
|
|
2732
|
-
},
|
|
2733
|
-
"number2": {
|
|
2734
|
-
"name": "number2",
|
|
2735
|
-
"detail": "second"
|
|
2725
|
+
"number": {
|
|
2726
|
+
"name": "number",
|
|
2727
|
+
"detail": "The nonnegative number for which you want the double factorial. If number is not an integer, it is truncated."
|
|
2736
2728
|
}
|
|
2737
2729
|
}
|
|
2738
2730
|
},
|
|
@@ -2812,11 +2804,11 @@
|
|
|
2812
2804
|
"functionParameter": {
|
|
2813
2805
|
"number1": {
|
|
2814
2806
|
"name": "number1",
|
|
2815
|
-
"detail": "first"
|
|
2807
|
+
"detail": "To find the first number of the greatest common divisor, you can also use a single array or a reference to an array instead of the comma-separated parameters."
|
|
2816
2808
|
},
|
|
2817
2809
|
"number2": {
|
|
2818
2810
|
"name": "number2",
|
|
2819
|
-
"detail": "second"
|
|
2811
|
+
"detail": "The second number whose greatest common divisor is to be found. Up to 255 numbers can be specified in this way."
|
|
2820
2812
|
}
|
|
2821
2813
|
}
|
|
2822
2814
|
},
|
|
@@ -2830,13 +2822,9 @@
|
|
|
2830
2822
|
}
|
|
2831
2823
|
],
|
|
2832
2824
|
"functionParameter": {
|
|
2833
|
-
"
|
|
2834
|
-
"name": "
|
|
2835
|
-
"detail": "
|
|
2836
|
-
},
|
|
2837
|
-
"number2": {
|
|
2838
|
-
"name": "number2",
|
|
2839
|
-
"detail": "second"
|
|
2825
|
+
"number": {
|
|
2826
|
+
"name": "number",
|
|
2827
|
+
"detail": "The real number you want to round down to an integer."
|
|
2840
2828
|
}
|
|
2841
2829
|
}
|
|
2842
2830
|
},
|
|
@@ -2872,11 +2860,11 @@
|
|
|
2872
2860
|
"functionParameter": {
|
|
2873
2861
|
"number1": {
|
|
2874
2862
|
"name": "number1",
|
|
2875
|
-
"detail": "first"
|
|
2863
|
+
"detail": "To find the first number of the least common multiple, you can also use a single array or a reference to an array instead of the comma-separated parameters."
|
|
2876
2864
|
},
|
|
2877
2865
|
"number2": {
|
|
2878
2866
|
"name": "number2",
|
|
2879
|
-
"detail": "second"
|
|
2867
|
+
"detail": "The second number whose least common multiple is to be found. Up to 255 numbers can be specified in this way."
|
|
2880
2868
|
}
|
|
2881
2869
|
}
|
|
2882
2870
|
},
|
|
@@ -2974,13 +2962,9 @@
|
|
|
2974
2962
|
}
|
|
2975
2963
|
],
|
|
2976
2964
|
"functionParameter": {
|
|
2977
|
-
"
|
|
2978
|
-
"name": "
|
|
2979
|
-
"detail": "
|
|
2980
|
-
},
|
|
2981
|
-
"number2": {
|
|
2982
|
-
"name": "number2",
|
|
2983
|
-
"detail": "second"
|
|
2965
|
+
"array": {
|
|
2966
|
+
"name": "array",
|
|
2967
|
+
"detail": "A numeric array with an equal number of rows and columns."
|
|
2984
2968
|
}
|
|
2985
2969
|
}
|
|
2986
2970
|
},
|
|
@@ -2994,13 +2978,9 @@
|
|
|
2994
2978
|
}
|
|
2995
2979
|
],
|
|
2996
2980
|
"functionParameter": {
|
|
2997
|
-
"
|
|
2998
|
-
"name": "
|
|
2999
|
-
"detail": "
|
|
3000
|
-
},
|
|
3001
|
-
"number2": {
|
|
3002
|
-
"name": "number2",
|
|
3003
|
-
"detail": "second"
|
|
2981
|
+
"array": {
|
|
2982
|
+
"name": "array",
|
|
2983
|
+
"detail": "A numeric array with an equal number of rows and columns."
|
|
3004
2984
|
}
|
|
3005
2985
|
}
|
|
3006
2986
|
},
|
|
@@ -3014,13 +2994,13 @@
|
|
|
3014
2994
|
}
|
|
3015
2995
|
],
|
|
3016
2996
|
"functionParameter": {
|
|
3017
|
-
"
|
|
3018
|
-
"name": "
|
|
3019
|
-
"detail": "
|
|
2997
|
+
"array1": {
|
|
2998
|
+
"name": "array1",
|
|
2999
|
+
"detail": "The arrays you want to multiply."
|
|
3020
3000
|
},
|
|
3021
|
-
"
|
|
3022
|
-
"name": "
|
|
3023
|
-
"detail": "
|
|
3001
|
+
"array2": {
|
|
3002
|
+
"name": "array2",
|
|
3003
|
+
"detail": "The arrays you want to multiply."
|
|
3024
3004
|
}
|
|
3025
3005
|
}
|
|
3026
3006
|
},
|
|
@@ -3076,11 +3056,11 @@
|
|
|
3076
3056
|
"functionParameter": {
|
|
3077
3057
|
"number1": {
|
|
3078
3058
|
"name": "number1",
|
|
3079
|
-
"detail": "first"
|
|
3059
|
+
"detail": "The first value or range to use in the calculation."
|
|
3080
3060
|
},
|
|
3081
3061
|
"number2": {
|
|
3082
3062
|
"name": "number2",
|
|
3083
|
-
"detail": "
|
|
3063
|
+
"detail": "Additional values or ranges to use in calculations."
|
|
3084
3064
|
}
|
|
3085
3065
|
}
|
|
3086
3066
|
},
|
|
@@ -3094,13 +3074,9 @@
|
|
|
3094
3074
|
}
|
|
3095
3075
|
],
|
|
3096
3076
|
"functionParameter": {
|
|
3097
|
-
"
|
|
3098
|
-
"name": "
|
|
3099
|
-
"detail": "
|
|
3100
|
-
},
|
|
3101
|
-
"number2": {
|
|
3102
|
-
"name": "number2",
|
|
3103
|
-
"detail": "second"
|
|
3077
|
+
"dimension": {
|
|
3078
|
+
"name": "dimension",
|
|
3079
|
+
"detail": "Dimension is an integer specifying the dimension of the unit matrix that you want to return. It returns an array. The dimension has to be greater than zero."
|
|
3104
3080
|
}
|
|
3105
3081
|
}
|
|
3106
3082
|
},
|
|
@@ -3181,13 +3157,13 @@
|
|
|
3181
3157
|
}
|
|
3182
3158
|
],
|
|
3183
3159
|
"functionParameter": {
|
|
3184
|
-
"
|
|
3185
|
-
"name": "
|
|
3186
|
-
"detail": "
|
|
3160
|
+
"numerator": {
|
|
3161
|
+
"name": "numerator",
|
|
3162
|
+
"detail": "The dividend."
|
|
3187
3163
|
},
|
|
3188
|
-
"
|
|
3189
|
-
"name": "
|
|
3190
|
-
"detail": "
|
|
3164
|
+
"denominator": {
|
|
3165
|
+
"name": "denominator",
|
|
3166
|
+
"detail": "The divisor."
|
|
3191
3167
|
}
|
|
3192
3168
|
}
|
|
3193
3169
|
},
|
|
@@ -3392,13 +3368,21 @@
|
|
|
3392
3368
|
}
|
|
3393
3369
|
],
|
|
3394
3370
|
"functionParameter": {
|
|
3395
|
-
"
|
|
3396
|
-
"name": "
|
|
3397
|
-
"detail": "
|
|
3371
|
+
"x": {
|
|
3372
|
+
"name": "x",
|
|
3373
|
+
"detail": "The input value to the power series."
|
|
3398
3374
|
},
|
|
3399
|
-
"
|
|
3400
|
-
"name": "
|
|
3401
|
-
"detail": "
|
|
3375
|
+
"n": {
|
|
3376
|
+
"name": "n",
|
|
3377
|
+
"detail": "The initial power to which you want to raise x."
|
|
3378
|
+
},
|
|
3379
|
+
"m": {
|
|
3380
|
+
"name": "m",
|
|
3381
|
+
"detail": "The step by which to increase n for each term in the series."
|
|
3382
|
+
},
|
|
3383
|
+
"coefficients": {
|
|
3384
|
+
"name": "coefficients",
|
|
3385
|
+
"detail": "A set of coefficients by which each successive power of x is multiplied."
|
|
3402
3386
|
}
|
|
3403
3387
|
}
|
|
3404
3388
|
},
|
|
@@ -3412,13 +3396,21 @@
|
|
|
3412
3396
|
}
|
|
3413
3397
|
],
|
|
3414
3398
|
"functionParameter": {
|
|
3415
|
-
"
|
|
3416
|
-
"name": "
|
|
3417
|
-
"detail": "
|
|
3399
|
+
"rows": {
|
|
3400
|
+
"name": "rows",
|
|
3401
|
+
"detail": "The number of rows to return."
|
|
3418
3402
|
},
|
|
3419
|
-
"
|
|
3420
|
-
"name": "
|
|
3421
|
-
"detail": "
|
|
3403
|
+
"columns": {
|
|
3404
|
+
"name": "columns",
|
|
3405
|
+
"detail": "The number of columns to return."
|
|
3406
|
+
},
|
|
3407
|
+
"start": {
|
|
3408
|
+
"name": "start",
|
|
3409
|
+
"detail": "The first number in the sequence."
|
|
3410
|
+
},
|
|
3411
|
+
"step": {
|
|
3412
|
+
"name": "step",
|
|
3413
|
+
"detail": "The amount to increment each subsequent value in the array."
|
|
3422
3414
|
}
|
|
3423
3415
|
}
|
|
3424
3416
|
},
|
|
@@ -3432,13 +3424,9 @@
|
|
|
3432
3424
|
}
|
|
3433
3425
|
],
|
|
3434
3426
|
"functionParameter": {
|
|
3435
|
-
"
|
|
3436
|
-
"name": "
|
|
3437
|
-
"detail": "
|
|
3438
|
-
},
|
|
3439
|
-
"number2": {
|
|
3440
|
-
"name": "number2",
|
|
3441
|
-
"detail": "second"
|
|
3427
|
+
"number": {
|
|
3428
|
+
"name": "number",
|
|
3429
|
+
"detail": "Any real number."
|
|
3442
3430
|
}
|
|
3443
3431
|
}
|
|
3444
3432
|
},
|
|
@@ -6192,13 +6180,17 @@
|
|
|
6192
6180
|
}
|
|
6193
6181
|
],
|
|
6194
6182
|
"functionParameter": {
|
|
6195
|
-
"
|
|
6196
|
-
"name": "
|
|
6197
|
-
"detail": "
|
|
6183
|
+
"array": {
|
|
6184
|
+
"name": "array",
|
|
6185
|
+
"detail": "The array from which to drop rows or columns."
|
|
6198
6186
|
},
|
|
6199
|
-
"
|
|
6200
|
-
"name": "
|
|
6201
|
-
"detail": "
|
|
6187
|
+
"rows": {
|
|
6188
|
+
"name": "rows",
|
|
6189
|
+
"detail": "The number of rows to drop. A negative value drops from the end of the array."
|
|
6190
|
+
},
|
|
6191
|
+
"columns": {
|
|
6192
|
+
"name": "columns",
|
|
6193
|
+
"detail": "The number of columns to exclude. A negative value drops from the end of the array."
|
|
6202
6194
|
}
|
|
6203
6195
|
}
|
|
6204
6196
|
},
|
|
@@ -6212,13 +6204,21 @@
|
|
|
6212
6204
|
}
|
|
6213
6205
|
],
|
|
6214
6206
|
"functionParameter": {
|
|
6215
|
-
"
|
|
6216
|
-
"name": "
|
|
6217
|
-
"detail": "
|
|
6207
|
+
"array": {
|
|
6208
|
+
"name": "array",
|
|
6209
|
+
"detail": "The array to expand."
|
|
6218
6210
|
},
|
|
6219
|
-
"
|
|
6220
|
-
"name": "
|
|
6221
|
-
"detail": "
|
|
6211
|
+
"rows": {
|
|
6212
|
+
"name": "rows",
|
|
6213
|
+
"detail": "The number of rows in the expanded array. If missing, rows will not be expanded."
|
|
6214
|
+
},
|
|
6215
|
+
"columns": {
|
|
6216
|
+
"name": "columns",
|
|
6217
|
+
"detail": "The number of columns in the expanded array. If missing, columns will not be expanded."
|
|
6218
|
+
},
|
|
6219
|
+
"padWith": {
|
|
6220
|
+
"name": "pad_with",
|
|
6221
|
+
"detail": "The value with which to pad. The default is #N/A."
|
|
6222
6222
|
}
|
|
6223
6223
|
}
|
|
6224
6224
|
},
|
|
@@ -6624,13 +6624,17 @@
|
|
|
6624
6624
|
}
|
|
6625
6625
|
],
|
|
6626
6626
|
"functionParameter": {
|
|
6627
|
-
"
|
|
6628
|
-
"name": "
|
|
6629
|
-
"detail": "
|
|
6627
|
+
"array": {
|
|
6628
|
+
"name": "array",
|
|
6629
|
+
"detail": "The array from which to take rows or columns."
|
|
6630
6630
|
},
|
|
6631
|
-
"
|
|
6632
|
-
"name": "
|
|
6633
|
-
"detail": "
|
|
6631
|
+
"rows": {
|
|
6632
|
+
"name": "rows",
|
|
6633
|
+
"detail": "The number of rows to take. A negative value takes from the end of the array."
|
|
6634
|
+
},
|
|
6635
|
+
"columns": {
|
|
6636
|
+
"name": "columns",
|
|
6637
|
+
"detail": "The number of columns to take. A negative value takes from the end of the array."
|
|
6634
6638
|
}
|
|
6635
6639
|
}
|
|
6636
6640
|
},
|
|
@@ -6644,13 +6648,17 @@
|
|
|
6644
6648
|
}
|
|
6645
6649
|
],
|
|
6646
6650
|
"functionParameter": {
|
|
6647
|
-
"
|
|
6648
|
-
"name": "
|
|
6649
|
-
"detail": "
|
|
6651
|
+
"array": {
|
|
6652
|
+
"name": "array",
|
|
6653
|
+
"detail": "The array or reference to return as a column."
|
|
6650
6654
|
},
|
|
6651
|
-
"
|
|
6652
|
-
"name": "
|
|
6653
|
-
"detail": "
|
|
6655
|
+
"ignore": {
|
|
6656
|
+
"name": "ignore",
|
|
6657
|
+
"detail": "Whether to ignore certain types of values. By default, no values are ignored. Specify one of the following:\n0 Keep all values (default)\n1 Ignore blanks\n2 Ignore errors\n3 Ignore blanks and errors"
|
|
6658
|
+
},
|
|
6659
|
+
"scanByColumn": {
|
|
6660
|
+
"name": "scan_by_column",
|
|
6661
|
+
"detail": "Scan the array by column. By default, the array is scanned by row. Scanning determines whether the values are ordered by row or by column."
|
|
6654
6662
|
}
|
|
6655
6663
|
}
|
|
6656
6664
|
},
|
|
@@ -6664,13 +6672,17 @@
|
|
|
6664
6672
|
}
|
|
6665
6673
|
],
|
|
6666
6674
|
"functionParameter": {
|
|
6667
|
-
"
|
|
6668
|
-
"name": "
|
|
6669
|
-
"detail": "
|
|
6675
|
+
"array": {
|
|
6676
|
+
"name": "array",
|
|
6677
|
+
"detail": "The array or reference to return as a row."
|
|
6670
6678
|
},
|
|
6671
|
-
"
|
|
6672
|
-
"name": "
|
|
6673
|
-
"detail": "
|
|
6679
|
+
"ignore": {
|
|
6680
|
+
"name": "ignore",
|
|
6681
|
+
"detail": "Whether to ignore certain types of values. By default, no values are ignored. Specify one of the following:\n0 Keep all values (default)\n1 Ignore blanks\n2 Ignore errors\n3 Ignore blanks and errors"
|
|
6682
|
+
},
|
|
6683
|
+
"scanByColumn": {
|
|
6684
|
+
"name": "scan_by_column",
|
|
6685
|
+
"detail": "Scan the array by column. By default, the array is scanned by row. Scanning determines whether the values are ordered by row or by column."
|
|
6674
6686
|
}
|
|
6675
6687
|
}
|
|
6676
6688
|
},
|
|
@@ -6772,13 +6784,17 @@
|
|
|
6772
6784
|
}
|
|
6773
6785
|
],
|
|
6774
6786
|
"functionParameter": {
|
|
6775
|
-
"
|
|
6776
|
-
"name": "
|
|
6777
|
-
"detail": "
|
|
6787
|
+
"vector": {
|
|
6788
|
+
"name": "vector",
|
|
6789
|
+
"detail": "The vector or reference to wrap."
|
|
6778
6790
|
},
|
|
6779
|
-
"
|
|
6780
|
-
"name": "
|
|
6781
|
-
"detail": "
|
|
6791
|
+
"wrapCount": {
|
|
6792
|
+
"name": "wrap_count",
|
|
6793
|
+
"detail": "The maximum number of values for each column."
|
|
6794
|
+
},
|
|
6795
|
+
"padWith": {
|
|
6796
|
+
"name": "pad_with",
|
|
6797
|
+
"detail": "The value with which to pad. The default is #N/A."
|
|
6782
6798
|
}
|
|
6783
6799
|
}
|
|
6784
6800
|
},
|
|
@@ -6792,13 +6808,17 @@
|
|
|
6792
6808
|
}
|
|
6793
6809
|
],
|
|
6794
6810
|
"functionParameter": {
|
|
6795
|
-
"
|
|
6796
|
-
"name": "
|
|
6797
|
-
"detail": "
|
|
6811
|
+
"vector": {
|
|
6812
|
+
"name": "vector",
|
|
6813
|
+
"detail": "The vector or reference to wrap."
|
|
6798
6814
|
},
|
|
6799
|
-
"
|
|
6800
|
-
"name": "
|
|
6801
|
-
"detail": "
|
|
6815
|
+
"wrapCount": {
|
|
6816
|
+
"name": "wrap_count",
|
|
6817
|
+
"detail": "The maximum number of values for each row."
|
|
6818
|
+
},
|
|
6819
|
+
"padWith": {
|
|
6820
|
+
"name": "pad_with",
|
|
6821
|
+
"detail": "The value with which to pad. The default is #N/A."
|
|
6802
6822
|
}
|
|
6803
6823
|
}
|
|
6804
6824
|
},
|
|
@@ -8064,13 +8084,13 @@
|
|
|
8064
8084
|
}
|
|
8065
8085
|
],
|
|
8066
8086
|
"functionParameter": {
|
|
8067
|
-
"
|
|
8068
|
-
"name": "
|
|
8069
|
-
"detail": "
|
|
8087
|
+
"array": {
|
|
8088
|
+
"name": "array",
|
|
8089
|
+
"detail": "An array to be separated by column."
|
|
8070
8090
|
},
|
|
8071
|
-
"
|
|
8072
|
-
"name": "
|
|
8073
|
-
"detail": "
|
|
8091
|
+
"lambda": {
|
|
8092
|
+
"name": "lambda",
|
|
8093
|
+
"detail": "A LAMBDA that takes a column as a single parameter and calculates one result. The LAMBDA takes a single parameter: A column from array."
|
|
8074
8094
|
}
|
|
8075
8095
|
}
|
|
8076
8096
|
},
|
|
@@ -8084,13 +8104,13 @@
|
|
|
8084
8104
|
}
|
|
8085
8105
|
],
|
|
8086
8106
|
"functionParameter": {
|
|
8087
|
-
"
|
|
8088
|
-
"name": "
|
|
8089
|
-
"detail": "
|
|
8107
|
+
"array": {
|
|
8108
|
+
"name": "array",
|
|
8109
|
+
"detail": "An array to be separated by row."
|
|
8090
8110
|
},
|
|
8091
|
-
"
|
|
8092
|
-
"name": "
|
|
8093
|
-
"detail": "
|
|
8111
|
+
"lambda": {
|
|
8112
|
+
"name": "lambda",
|
|
8113
|
+
"detail": "A LAMBDA that takes a row as a single parameter and calculates one result. The LAMBDA takes a single parameter: A row from array."
|
|
8094
8114
|
}
|
|
8095
8115
|
}
|
|
8096
8116
|
},
|
|
@@ -8242,8 +8262,8 @@
|
|
|
8242
8262
|
}
|
|
8243
8263
|
},
|
|
8244
8264
|
"MAP": {
|
|
8245
|
-
"description": "Returns an array
|
|
8246
|
-
"abstract": "Returns an array
|
|
8265
|
+
"description": "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.",
|
|
8266
|
+
"abstract": "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.",
|
|
8247
8267
|
"links": [
|
|
8248
8268
|
{
|
|
8249
8269
|
"title": "Instruction",
|
|
@@ -8251,13 +8271,17 @@
|
|
|
8251
8271
|
}
|
|
8252
8272
|
],
|
|
8253
8273
|
"functionParameter": {
|
|
8254
|
-
"
|
|
8255
|
-
"name": "
|
|
8256
|
-
"detail": "
|
|
8274
|
+
"array1": {
|
|
8275
|
+
"name": "array1",
|
|
8276
|
+
"detail": "An array1 to be mapped."
|
|
8257
8277
|
},
|
|
8258
|
-
"
|
|
8259
|
-
"name": "
|
|
8260
|
-
"detail": "
|
|
8278
|
+
"array2": {
|
|
8279
|
+
"name": "array2",
|
|
8280
|
+
"detail": "An array2 to be mapped."
|
|
8281
|
+
},
|
|
8282
|
+
"lambda": {
|
|
8283
|
+
"name": "lambda",
|
|
8284
|
+
"detail": "A LAMBDA which must be the last argument and which must have either a parameter for each array passed."
|
|
8261
8285
|
}
|
|
8262
8286
|
}
|
|
8263
8287
|
},
|
|
@@ -8298,8 +8322,8 @@
|
|
|
8298
8322
|
}
|
|
8299
8323
|
},
|
|
8300
8324
|
"REDUCE": {
|
|
8301
|
-
"description": "Reduces an array to an accumulated value by applying a
|
|
8302
|
-
"abstract": "Reduces an array to an accumulated value by applying a
|
|
8325
|
+
"description": "Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator. ",
|
|
8326
|
+
"abstract": "Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator. ",
|
|
8303
8327
|
"links": [
|
|
8304
8328
|
{
|
|
8305
8329
|
"title": "Instruction",
|
|
@@ -8307,19 +8331,23 @@
|
|
|
8307
8331
|
}
|
|
8308
8332
|
],
|
|
8309
8333
|
"functionParameter": {
|
|
8310
|
-
"
|
|
8311
|
-
"name": "
|
|
8312
|
-
"detail": "
|
|
8334
|
+
"initialValue": {
|
|
8335
|
+
"name": "initial_value",
|
|
8336
|
+
"detail": "Sets the starting value for the accumulator."
|
|
8313
8337
|
},
|
|
8314
|
-
"
|
|
8315
|
-
"name": "
|
|
8316
|
-
"detail": "
|
|
8338
|
+
"array": {
|
|
8339
|
+
"name": "array",
|
|
8340
|
+
"detail": "An array to be reduced."
|
|
8341
|
+
},
|
|
8342
|
+
"lambda": {
|
|
8343
|
+
"name": "lambda",
|
|
8344
|
+
"detail": "A LAMBDA that is called to reduce the array. The LAMBDA takes three parameters: 1.The value totaled up and returned as the final result. 2.The current value from the array. 3.The calculation applied to each element in the array."
|
|
8317
8345
|
}
|
|
8318
8346
|
}
|
|
8319
8347
|
},
|
|
8320
8348
|
"SCAN": {
|
|
8321
|
-
"description": "Scans
|
|
8322
|
-
"abstract": "Scans
|
|
8349
|
+
"description": "Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value.",
|
|
8350
|
+
"abstract": "Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value.",
|
|
8323
8351
|
"links": [
|
|
8324
8352
|
{
|
|
8325
8353
|
"title": "Instruction",
|
|
@@ -8327,13 +8355,17 @@
|
|
|
8327
8355
|
}
|
|
8328
8356
|
],
|
|
8329
8357
|
"functionParameter": {
|
|
8330
|
-
"
|
|
8331
|
-
"name": "
|
|
8332
|
-
"detail": "
|
|
8358
|
+
"initialValue": {
|
|
8359
|
+
"name": "initial_value",
|
|
8360
|
+
"detail": "Sets the starting value for the accumulator."
|
|
8333
8361
|
},
|
|
8334
|
-
"
|
|
8335
|
-
"name": "
|
|
8336
|
-
"detail": "
|
|
8362
|
+
"array": {
|
|
8363
|
+
"name": "array",
|
|
8364
|
+
"detail": "An array to be scanned."
|
|
8365
|
+
},
|
|
8366
|
+
"lambda": {
|
|
8367
|
+
"name": "lambda",
|
|
8368
|
+
"detail": "A LAMBDA that is called to scanned the array. The LAMBDA takes three parameters: 1.The value totaled up and returned as the final result. 2.The current value from the array. 3.The calculation applied to each element in the array."
|
|
8337
8369
|
}
|
|
8338
8370
|
}
|
|
8339
8371
|
},
|