Skip to content

Commit 714df94

Browse files
authored
Raise Acrolinx score to passing
1 parent 8b45995 commit 714df94

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Namespace: [sys](bicep-functions.md#namespaces-for-functions).
119119
|:--- |:--- |:--- |:--- |
120120
| arg1 |Yes |array or object |The first value to use for finding common elements. |
121121
| arg2 |Yes |array or object |The second value to use for finding common elements. |
122-
| additional arguments |No |array or object |Additional values to use for finding common elements. |
122+
| additional arguments |No |array or object |More values to use for finding common elements. |
123123

124124
### Return value
125125

@@ -427,7 +427,7 @@ The output from the preceding example is:
427427

428428
`shallowMerge(inputArray)`
429429

430-
Combines an array of objects, where only the top-level objects are merged. This means that if the objects being merged contain nested objects, those nested object aren't deeply merged; instead, they're replaced entirely by the corresponding property from the merging object.
430+
Combines an array of objects, where only the top-level objects are merged. This means that if the objects being merged contain nested objects, those nested object aren't deeply merged. Instead, they're replaced entirely by the corresponding property from the merging object.
431431

432432
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
433433

@@ -460,7 +460,7 @@ The output from the preceding example with the default values is:
460460
| firstOutput | object | {"one":"a","two":"c"}|
461461
| secondOutput | object | {"one":"a","nested":{"b":2},"two":"b"} |
462462

463-
**firstOutput** shows the properties from the merging objects are combined into a new object. If there are conflicting properties (i.e., properties with the same name), the property from the last object being merged usually takes precedence.
463+
**firstOutput** shows the properties from the merging objects are combined into a new object. If there are conflicting properties (that is, properties with the same name), the property from the last object being merged usually takes precedence.
464464

465465
**secondOutput** shows the shallow merge doesn't recursively merge these nested objects. Instead, the entire nested object is replaced by the corresponding property from the merging object.
466466

@@ -478,7 +478,7 @@ Namespace: [sys](bicep-functions.md#namespaces-for-functions).
478478
|:--- |:--- |:--- |:--- |
479479
| arg1 |Yes |array or object |The first value to use for joining elements. |
480480
| arg2 |Yes |array or object |The second value to use for joining elements. |
481-
| additional arguments |No |array or object |Additional values to use for joining elements. |
481+
| additional arguments |No |array or object |More values to use for joining elements. |
482482

483483
### Return value
484484

@@ -488,7 +488,7 @@ An array or object.
488488

489489
The union function uses the sequence of the parameters to determine the order and values of the result.
490490

491-
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, it's earlier placement in the array is preserved.
491+
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, it's earlier placement in the array is preserved.
492492

493493
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.
494494

0 commit comments

Comments
 (0)