Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Reverses the order of the elements in a dynamic array.
array_reverse(
value)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
value | dynamic |
✔️ | The array to reverse. |
Returns an array that contains the same elements as the input array in reverse order.
This 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"] |