Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Reverses the order of the elements in a dynamic array.
Syntax
array_reverse(value)
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| value | dynamic |
✔️ | The array to reverse. |
Returns
Returns an array that contains the same elements as the input array in reverse order.
Examples
The following example shows an array of words reversed.
print arr=dynamic(["this", "is", "an", "example"])
| project Result=array_reverse(arr)
Output
| Result |
|---|
| ["example","an","is","this"] |