utils

Home > @silence_zhpf/utils > HashSet > isSubset

HashSet.isSubset() method

此函数检查此 HashSet 是否是另一个 HashSet 的子集。

Signature:

isSubset(other: HashSet<T>): boolean;

Parameters

Parameter Type Description
other HashSet<T> other 另一个HashSet<T>对象。

Returns:

boolean

HashSet是否是另一个HashSet的子集。