reverse

value reverse(value)

If value is an array returns a copy where the elements are reversed, if value is a text returns a text where the characters are reversed, otherwise returns null.

Parameters

  1. valuearray or text to reverse.

Returns