
{{alias}}( x, writable )
    Returns a view of an input ndarray in which the order of elements along the
    second-to-last dimension is reversed.

    If provided a zero-dimensional ndarray, as the ndarray has no dimensions to
    reverse, the function simply returns a new view of the input ndarray.

    If provided a one-dimensional ndarray, as the ndarray has only one
    dimension, the function simply returns a new view of the input ndarray.

    Parameters
    ----------
    x: ndarray
        Input array.

    writable: boolean
        Boolean indicating whether a returned ndarray should be writable. This
        parameter only applies to ndarray constructors which support read-only
        instances.

    Returns
    -------
    out: ndarray
        Output array view.

    Examples
    --------
    > var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2 ], [ 3, 4 ] ] )
    <ndarray>
    > x.shape
    [ 2, 2 ]
    > var y = {{alias}}( x, false )
    <ndarray>
    > y.shape
    [ 2, 2 ]
    > {{alias:@stdlib/ndarray/to-array}}( y )
    [ [ 3, 4 ], [ 1, 2 ] ]

    See Also
    --------

