Skip to content

Commit a63b947

Browse files
authored
Merge pull request #264193 from mumian/0125-reduce
The initialValue of reduce() is required
2 parents 9eda4bc + fd4bb04 commit a63b947

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/azure-resource-manager/bicep/bicep-functions-lambda.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Bicep functions - lambda
33
description: Describes the lambda functions to use in a Bicep file.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 11/03/2023
6+
ms.date: 01/25/2024
77
---
88
# Lambda functions for Bicep
99

@@ -176,7 +176,7 @@ Namespace: [sys](bicep-functions.md#namespaces-for-functions).
176176
| Parameter | Required | Type | Description |
177177
|:--- |:--- |:--- |:--- |
178178
| inputArray |Yes |array |The array to reduce.|
179-
| initialValue |No |any |Initial value.|
179+
| initialValue |Yes |any |Initial value.|
180180
| lambda expression |Yes |expression |The lambda expression used to aggregate the current value and the next value.|
181181

182182
### Return value

articles/azure-resource-manager/templates/template-functions-lambda.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Template functions - lambda
33
description: Describes the lambda functions to use in an Azure Resource Manager template (ARM template)
44
ms.topic: conceptual
55
ms.custom: devx-track-arm-template
6-
ms.date: 06/22/2023
6+
ms.date: 01/25/2024
77
---
88

99
# Lambda functions for ARM templates
@@ -240,7 +240,7 @@ In Bicep, use the [reduce](../bicep/bicep-functions-lambda.md#reduce) function.
240240
| Parameter | Required | Type | Description |
241241
|:--- |:--- |:--- |:--- |
242242
| inputArray |Yes |array |The array to reduce.|
243-
| initialValue |No |any |Initial value.|
243+
| initialValue |Yes |any |Initial value.|
244244
| lambda function |Yes |expression |The lambda function used to aggregate the current value and the next value.|
245245

246246
### Return value

0 commit comments

Comments
 (0)