Skip to content

Commit 47fb195

Browse files
committed
updates2
1 parent fe0fc88 commit 47fb195

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ The output of default values from the preceding example is:
811811

812812
`tryGet(itemToTest, keyOrIndex)`
813813

814-
`tryGet` helps you avoid deployment failures when trying to access a non-existent property or index in an object or array. If the specified key or index doesn't exist, `tryGet` returns null instead of throwing an error.
814+
`tryGet` helps you avoid deployment failures when trying to access a nonexistent property or index in an object or array. If the specified key or index doesn't exist, `tryGet` returns null instead of throwing an error.
815815

816816
In Bicep, use the [safe-dereference](../bicep/operator-safe-dereference.md#safe-dereference) operator.
817817

@@ -898,7 +898,7 @@ An array or object.
898898

899899
The `union` function uses the sequence of the parameters to determine the order and values of the result.
900900

901-
For arrays, the function iterates through each element in the first parameter and adds it to the result if it isn't already present. Then, it repeats the process for the second parameter and any additional parameters. If a value is already present, its earlier placement in the array is preserved.
901+
For arrays, the function iterates through each element in the first parameter and adds it to the result if it isn't already present. Then, it repeats the process for the second parameter and any other parameters. If a value is already present, its earlier placement in the array is preserved.
902902

903903
For objects, property names and values from the first parameter are added to the result. For later parameters, any new names are added to the result. If a later parameter has a property with the same name, that value overwrites the existing value. The order of the properties isn't guaranteed.
904904

0 commit comments

Comments
 (0)