HH\Vector::clear

Removes all the elements from the current Vector

public function clear(): Vector<Tv>;

Future changes made to the current Vector ARE reflected in the returned Vector, and vice-versa.

Return Values