setWithoutElementCanDestroy

fun A_Set.setWithoutElementCanDestroy(elementObjectToExclude: A_BasicObject, canDestroy: Boolean): A_Set

Answer a set like this one but with elementObjectToExclude absent. If it was already absent in the original set then answer that. The set might be modified in place (and then returned) if canDestroy is true and the set is mutable.

Return

The new set not containing the specified object.

Parameters

elementObjectToExclude

The object to remove.

canDestroy

Whether the original set can be modified if mutable.