kmongo / kotlin.collections / com.mongodb.client.MongoIterable / plusElement

plusElement

fun <T> MongoIterable<T>.plusElement(element: T): List<T> (source)

Returns a list containing all elements of the original collection and then the given element.