removeElementByObjectIdentity

open fun <E> removeElementByObjectIdentity(list: List<E>, o: E)(source)

Like remove, but using ==, not equals.