Edit this page

up.util up.util.last(array)
JavaScript function

Returns the last element of the given array or string.


Parameters

array
required
Array<T>string

Return value

Tstring