getFirst is a generic function that returns the last value of iterators
getFirst
getLast(obj, ...)
obj
an R object
...
additional arguments
iterator value, format dependes on the objects