In the docs it has this for last() :
Method Last:Object()
The part between the ":" and the "()" is the type returned by the method. In this case, it returns the type "Object".
Unless you have a list of Objects, you will have to cast this back to its actual type.