How can I always get the last object from the array at the moment I'm using the following function but only takes the first one.
%pre%How can I always get the last object from the array at the moment I'm using the following function but only takes the first one.
%pre%You can search for length using %code% less than 1 that will always return the last item