Skip to main content
Version: Next

reverse

Reverses the event order.

reverse

Description

reverse is a shorthand notation for slice stride=-1.

Potentially High Memory Usage

Take care when using this operator with large inputs.

Examples

Reverse a stream of events

from {x: 1}, {x: 2}, {x: 3}
reverse
{x: 3}
{x: 2}
{x: 1}