tryRemoveIfNotNull
tryRemoveIfNotNull(value: MemberType): Boolean receiverByReference, updating, final;
The tryRemoveIfNotNull method of the Collection class attempts to remove the value specified in the value parameter from the collection if it is not null and is contained in the collection.
It returns true if the value was successfully removed; otherwise it returns false.
2020.0.02 and higher