Skip to content

Commit 9a86239

Browse files
committed
Update the if remarks
1 parent 6f66766 commit 9a86239

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Bicep functions - logical
33
description: Describes the functions to use in a Bicep file to determine logical values.
44
ms.topic: reference
55
ms.custom: devx-track-bicep
6-
ms.date: 03/20/2024
6+
ms.date: 01/09/2025
77
---
88

99
# Logical functions for Bicep

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

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

99
# Logical functions for ARM templates
@@ -144,7 +144,7 @@ Returns second parameter when first parameter is **True**; otherwise, returns th
144144

145145
When the condition is **True**, only the true value is evaluated. When the condition is **False**, only the false value is evaluated. With the `if` function, you can include expressions that are only conditionally valid. For example, you can reference a resource that exists under one condition but not under the other condition. An example of conditionally evaluating expressions is shown in the following section.
146146

147-
Note that the above **only** applies when the condition can be evaluated at template start, for example you cannot use a `reference()` in the condition.
147+
Note that the above rule only applies when the condition can be evaluated at the start of the template deployment process. For instance, you can't use a [`reference()`](./template-functions-resource.md#reference) in the condition.
148148

149149
### Examples
150150

0 commit comments

Comments
 (0)