array:reverse

Returns an array containing all the members of a supplied array, but in reverse order.

reverse($array as array(*)) ➔ array(*)

Arguments

 

$array

array(*)

The input array

Result

array(*)

Namespace

http://www.w3.org/2005/xpath-functions/array

Links to W3C specifications

XPath 3.1 Functions and Operators

Notes on the Saxon implementation

Available since Saxon 9.7.