Skip to content

Commit 1ac0a11

Browse files
committed
add Bicep CLI version
1 parent 6633fe0 commit 1ac0a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-resource-manager/bicep/data-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var index = 1
7777
output secondElement int = exampleArray[index] // 2
7878
```
7979

80-
The `array[^index]` syntax allows you to access elements from the end of the array, where `^1` is the last element, `^2` is the second-to-last, and so on.
80+
Starting with [Bicep CLI version 0.34.x](https://github.com/Azure/bicep/releases/tag/v0.34.1), you can use the `array[^index]` syntax to access elements from the end of an array `^1` refers to the last element, `^2` to the second-to-last, and so on.
8181

8282
```bicep
8383
var exampleArray = [1, 2, 3]

0 commit comments

Comments
 (0)