remove

open fun remove(item: T): Boolean(source)

Removes the provided item from the list and calls onRemoved.

Return

True if item is removed, false if item cannot be found in the list.

Parameters

item

The item to be removed from the list.