@longmo-utils/common / isSet
Function: isSet()
ts
function isSet(arg): boolean;是否是Set
Parameters
| Parameter | Type | Description |
|---|---|---|
arg | any | 参数 |
Returns
boolean
true|false
Example
ts
isSet(new Set([1,2,3])) // true