utils

Home > @silence_zhpf/utils > HashSet > clear

HashSet.clear() method

“clear”函数清除集合中的所有元素。

Signature:

clear(): void;

Returns:

void