lastIndexOf

fun <T> MongoIterable<T>.lastIndexOf(element: T): Int

Returns last index of element, or -1 if the collection does not contain element.