Home > @hz-9/algorithm > SetPlus > toSet
Converts the set to a new Set object.
将集合转换为新的 Set 对象。
Signature:
toSet(): Set<T>;
Returns:
Set<T>
The converted Set object.