remove

expect open override fun remove(element: E): Boolean(source)

Removes a single instance of the specified element from this collection, if it is present.

Since Kotlin

1.3

Return

true if the element has been successfully removed; false if it was not present in the collection.

actual open override fun remove(element: E): Boolean(source)

Removes a single instance of the specified element from this collection, if it is present.

Since Kotlin

1.1

Return

true if the element has been successfully removed; false if it was not present in the collection.

actual open override fun remove(element: E): Boolean(source)

Removes a single instance of the specified element from this collection, if it is present.

Since Kotlin

1.3

Return

true if the element has been successfully removed; false if it was not present in the collection.

actual open override fun remove(element: E): Boolean(source)

Removes a single instance of the specified element from this collection, if it is present.

Since Kotlin

1.8

Return

true if the element has been successfully removed; false if it was not present in the collection.

actual open override fun remove(element: E): Boolean(source)

Removes a single instance of the specified element from this collection, if it is present.

Since Kotlin

1.8

Return

true if the element has been successfully removed; false if it was not present in the collection.