Usage
remove(t, a)
remove!(t, a)
removeAll(t, a)
removeAll!(t, a)
Parameter | Type | Description |
---|---|---|
t | T | an element to remove |
a | % | a dynamic data structure |
Description
remove(t, a) and remove!(t, a) remove the first occurence of t in a and return the new structure, while removeAll(t, a) and removeAll!(t, a) remove all the occurences of t in a. remove and removeAll create a new structure, while remove! and removeAll! modify a itself.