Checks if the input is a Set.
检查输入是否为 Set。
The value to check. 要检查的值
True if the value is a Set, false otherwise. 如果值为 Set 则返回 true,否则返回 false
isSet(new Set()) // => trueisSet([]) // => false Copy
isSet(new Set()) // => trueisSet([]) // => false
Checks if the input is a Set.
检查输入是否为 Set。