remove
Removes a single instance of the specified element from this collection, if it is present.
Since Kotlin
1.0Return
true
if the element has been successfully removed; false
if it was not present in the collection.
Removes a single instance of the specified element from this collection, if it is present.
Since Kotlin
1.1Return
true
if the element has been successfully removed; false
if it was not present in the collection.