Removing value from a set

suggest change

To remove a value from a set, use .delete() method:

mySet.delete(some_val);

This function will return true if the value existed in the set and was removed, or false otherwise.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents