def
func:last
last(val)
Get the last item from an ordered collection or return null if the collection is empty:
- list: item at index -1
- grid: item at index -1
- stream: last item; see Streams
Get the last item from an ordered collection or return null if the collection is empty: