@stdlib/array
Version:
Arrays.
26 lines (18 loc) • 476 B
Plain Text
{{alias}}( x )
Reverses the order of elements along the first dimension of a two-
dimensional nested input array.
The function does *not* perform a deep copy of nested array elements.
Parameters
----------
x: ArrayLikeObject
Input nested array.
Returns
-------
out: Array
Output array.
Examples
--------
> var out = {{alias}}( [ [ 1, 2 ], [ 3, 4 ] ] )
[ [ 3, 4 ], [ 1, 2 ] ]
See Also
--------