@Nullable open static fun <T : Any!> first(@NotNull collection: @NotNull MutableCollection<T>): @Nullable T?
Returns the first element of a Collection.
collection - MutableCollection<T>: the collection
Return
T?: the element or null if the collection is empty