Go to main content

reverse

Reverse an array

REVERSE

NAME

reverse - Reverse an array

SYNOPSIS

reverse(array)

DESCRIPTION

This function is used to reverse an array.

EXAMPLES

a=[1,2,3];
reverse(a);

will return 3,2,1

SEE ALSO

{{ include("includes/array.sn") }}

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.