You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**oldDogs** lists the dogs that are five or older; **dogNameIndex** identifies the dog(s) whose index number is less than two and whose name starts with the letter "C".
83
87
84
88
```bicep
85
89
var itemForLoop = [for item in range(0, 10): item]
@@ -88,7 +92,7 @@ output filteredLoop array = filter(itemForLoop, i => i > 5)
88
92
output isEven array = filter(range(0, 10), i => 0 == i % 2)
89
93
```
90
94
91
-
The output from the preceding example:
95
+
The outputs from the preceding example:
92
96
93
97
| Name | Type | Value |
94
98
| ---- | ---- | ----- |
@@ -118,15 +122,15 @@ An object.
118
122
119
123
### Examples
120
124
121
-
The following examples show how to use the `groupBy` function.
125
+
The following example show how to use the `groupBy` function.
122
126
123
127
```bicep
124
128
var inputArray = ['foo', 'bar', 'baz']
125
129
126
130
output outObject object = groupBy(inputArray, x => substring(x, 0, 1))
127
131
```
128
132
129
-
The output from the preceding example shows the dogs that are five or older:
**oldDogs** lists the dogs that are five or older; **dogNameIndex** identifies the dog(s) whose index number is less than two and whose name starts with the letter "C".
0 commit comments