array →
reverse() → array

Returns the input enumerable with elements emitted in the opposite order. Preserves input cardinality (one output item per input item). Returns null when the input is not an enumerable or is a string.

Parameters

This function has no parameters.

Examples

{1, 2, 3} | reverse  {3, 2, 1}

Kind: Function
Scope: array
Aliases: reverse


This site uses Just the Docs, a documentation theme for Jekyll.