remove
context(_: Equality<Element>)
fun <Element> KoneMutableList<Element>.remove(element: Element)(source)
fun <Element> KoneMutableList<Element>.remove(element: Element)(source)
Finds first element equal to the provided element with respect to context Equality and removes it.
If there is no equal element, the list is not modified. If there are several equal elements, only the first one is found and removed.