moveDown

fun <T> MutableList<T>.moveDown(item: T): Boolean

Moves the given element T up the MutableList by an index increment unless it is at the bottom already which will result in no movement. Returns a Boolean indicating if move was successful


inline fun <T> MutableList<T>.moveDown(crossinline predicate: (T) -> Boolean): Boolean?

Moves first element T down an index that satisfies the given predicate, unless its already at the bottom