Skip to content

Commit c1ee847

Browse files
authored
Merge pull request telefonicaid#4655 from fisuda/patch
(JP) Add Japanese documentation about transformations (telefonicaid#4654)
2 parents 887e1b3 + e802b59 commit c1ee847

File tree

2 files changed

+164
-8
lines changed

2 files changed

+164
-8
lines changed

doc/manuals.jp/orion-api.md

Lines changed: 158 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@
109109
- [`keys`](#keys)
110110
- [`arrSum`](#arrsum)
111111
- [`arrAvg`](#arravg)
112+
- [`arrMax`](#arrmax)
113+
- [`arrMin`](#arrmin)
114+
- [`arrMed`](#arrmed)
115+
- [`arrSort`](#arrsort)
116+
- [`arrReverse`](#arrreverse)
112117
- [`now`](#now)
113118
- [`toIsoString`](#toisostring)
114119
- [`getTime`](#gettime)
@@ -3224,10 +3229,16 @@ c|keys
32243229

32253230
#### arrSum
32263231

3227-
配列の要素の合計を返します (配列内の入力または配列に数値以外の項目が含まれている場合は `null` を返します)
3232+
配列の要素の合計を返します。
32283233

32293234
追加引数: なし
32303235

3236+
この変換は、次の場合に `null` を返します:
3237+
3238+
* 入力が配列ではない
3239+
* 配列が空である
3240+
* 配列に数値以外の項目が含まれている
3241+
32313242
例 (コンテキスト `{"c": [1, 5]}`):
32323243

32333244
```
@@ -3244,10 +3255,16 @@ c|arrSum
32443255

32453256
#### arrAvg
32463257

3247-
配列の要素の平均を返します (配列内の入力または配列に数値以外の項目が含まれている場合は `null` を返します)
3258+
配列の要素の平均を返します。
32483259

32493260
追加引数: なし
32503261

3262+
この変換は、次の場合に `null` を返します:
3263+
3264+
* 入力が配列ではない
3265+
* 配列が空である
3266+
* 配列に数値以外の項目が含まれている
3267+
32513268
例 (コンテキスト `{"c": [1, 5]}`):
32523269

32533270
```
@@ -3260,6 +3277,145 @@ c|arrAvg
32603277
3
32613278
```
32623279

3280+
<a name="arrMax"></a>
3281+
3282+
#### arrMax
3283+
3284+
配列の要素の最大値を返します。
3285+
3286+
追加の引数: なし
3287+
3288+
この変換は、次の場合に `null` を返します:
3289+
3290+
* 入力が配列ではない
3291+
* 配列が空である
3292+
* 配列に数値以外の項目が含まれている
3293+
3294+
例 (コンテキスト `{"c": [1, 5]}`):
3295+
3296+
```
3297+
c|arrMax
3298+
```
3299+
3300+
結果は
3301+
3302+
```
3303+
5
3304+
```
3305+
3306+
<a name="arrMin"></a>
3307+
3308+
#### arrMin
3309+
3310+
配列の要素の最小値を返します。
3311+
3312+
追加の引数: なし
3313+
3314+
この変換は、次の場合に `null` を返します:
3315+
3316+
* 入力が配列ではない
3317+
* 配列が空である
3318+
* 配列に数値以外の項目が含まれている
3319+
3320+
例 (コンテキスト `{"c": [1, 5]}`):
3321+
3322+
```
3323+
c|arrMin
3324+
```
3325+
3326+
結果in
3327+
3328+
```
3329+
1
3330+
```
3331+
3332+
<a name="arrMed"></a>
3333+
3334+
#### arrMed
3335+
3336+
配列の要素の中央値を返します。
3337+
3338+
追加引数: なし
3339+
3340+
この変換は、次の場合に `null` を返します:
3341+
3342+
* 入力が配列ではない
3343+
* 配列が空である
3344+
* 配列に数値以外の項目が含まれている
3345+
3346+
例 (コンテキスト `{"c": [1, 3, 3, 6, 7, 8, 9]}`):
3347+
3348+
```
3349+
c|arrMed
3350+
```
3351+
3352+
結果は
3353+
3354+
```
3355+
6
3356+
```
3357+
3358+
例 (コンテキスト `{"c": [1, 2, 3, 4, 5, 6, 8, 9]}`):
3359+
3360+
```
3361+
c|arrMed
3362+
```
3363+
3364+
結果は
3365+
3366+
```
3367+
4.5
3368+
```
3369+
3370+
<a name="arrSort"></a>
3371+
3372+
#### arrSort
3373+
3374+
入力として使用された配列のソートされたバージョンを返します。
3375+
3376+
追加の引数: なし
3377+
3378+
この変換は、次の場合に `null` を返します:
3379+
3380+
* 入力が配列ではない
3381+
* 配列に数値以外の項目が含まれている
3382+
3383+
例 (コンテキスト `{"c": [3, 1, 3, 9, 7, 8, 6]}`):
3384+
3385+
```
3386+
c|arrSort
3387+
```
3388+
3389+
結果は次のようになります
3390+
3391+
```
3392+
[1, 3, 3, 6, 7, 8, 9]
3393+
```
3394+
3395+
<a name="arrReverse"></a>
3396+
3397+
#### arrReverse
3398+
3399+
入力として使用される配列の予約バージョンを返します。
3400+
3401+
追加の引数: なし
3402+
3403+
この変換は、次の場合に `null` を返します:
3404+
3405+
* 入力が配列ではない
3406+
3407+
例 (コンテキスト `{"c": [3, 1, 3, 9, 7, 8, 6]}`):
3408+
3409+
```
3410+
c|arrReverse
3411+
```
3412+
3413+
結果は
3414+
3415+
```
3416+
[6, 8, 7, 9, 3, 1, 3]
3417+
```
3418+
32633419
<a name="now"></a>
32643420

32653421
#### now

doc/manuals/orion-api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3168,7 +3168,7 @@ This transformation will return `null` in the following cases:
31683168

31693169
* The input is not an array
31703170
* The array is empty
3171-
* The array containts some non numeric item
3171+
* The array contains some non numeric item
31723172

31733173
Example (being context `{"c": [1, 5]}`):
31743174

@@ -3192,7 +3192,7 @@ This transformation will return `null` in the following cases:
31923192

31933193
* The input is not an array
31943194
* The array is empty
3195-
* The array containts some non numeric item
3195+
* The array contains some non numeric item
31963196

31973197
Example (being context `{"c": [1, 5]}`):
31983198

@@ -3216,7 +3216,7 @@ This transformation will return `null` in the following cases:
32163216

32173217
* The input is not an array
32183218
* The array is empty
3219-
* The array containts some non numeric item
3219+
* The array contains some non numeric item
32203220

32213221
Example (being context `{"c": [1, 5]}`):
32223222

@@ -3240,7 +3240,7 @@ This transformation will return `null` in the following cases:
32403240

32413241
* The input is not an array
32423242
* The array is empty
3243-
* The array containts some non numeric item
3243+
* The array contains some non numeric item
32443244

32453245
Example (being context `{"c": [1, 5]}`):
32463246

@@ -3264,7 +3264,7 @@ This transformation will return `null` in the following cases:
32643264

32653265
* The input is not an array
32663266
* The array is empty
3267-
* The array containts some non numeric item
3267+
* The array contains some non numeric item
32683268

32693269
Example (being context `{"c": [1, 3, 3, 6, 7, 8, 9]}`):
32703270

@@ -3299,7 +3299,7 @@ Extra arguments: none
32993299
This transformation will return `null` in the following cases:
33003300

33013301
* The input is not an array
3302-
* The array containts some non numeric item
3302+
* The array contains some non numeric item
33033303

33043304
Example (being context `{"c": [3, 1, 3, 9, 7, 8, 6]}`):
33053305

0 commit comments

Comments
 (0)