tryRemove

tryRemove(value: MemberType): Boolean abstract, lockReceiver, updating;

The tryRemove method of the Collection class attempts to remove the value specified in the value parameter from the collection if it is present. It returns true if the value was successfully removed; otherwise it returns false.

2020.0.01 and higher