The .clear() method removes all values from a set. This will destroy every value and the container will be of size 0.
.clear()
setName.clear();
The following shows the .clear() method being used on the composers set:
composers
Favicon IconArrow Chevron Left IconCodeOutputArrow Chevron Right IconLoading...Run