List.clear

Removes all the elements of the array and deallocate all the memory.

interface List(T)
void
clear
@nogc
(
)

Meta