app-array

On this page:

reverse

Summary

Reverses the array.

Description

Reverses an array in place. The first array element becomes the last, and the last array element becomes the first.

Route

POST /array/reverse

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
arr array yes The array to reverse

Return

DetailsExampleSchema
Name Type Description
reversedArray array The reversed array