Skip to content

格式

typescript
HashSet.Contains(item)

所属类: HashSet

描述

判断集合中是否包含指定的元素。

参数

参数名类型描述
itemT|null指定元素

返回值

类型描述
boolean

代码示例