empty!
empty!(collection) -> collection
Remove all elements from a collection
.
Examples
julia> empty!([1,2,2])
0-element Array{Int64,1}
julia> empty!(Set(1,2,3))
Set{Int64}({})
See Also
append!, delete!, deleteat!, empty!, endof, filter, filter!, gc, get!, getkey, haskey, insert!, isempty, keys, map, map!, merge, merge!, pop!, prepend!, push!, reduce, resize!, shift!, splice!, unshift!, values,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.