Returns the last element of the given array or string.
Tip Your coding agent can search these docs locally with the Unpoly agent skill