util.types.isWeakSet(value)


如果值为内置的 WeakSet 实例,则返回 true

util.types.isWeakSet(new WeakSet());  // 返回 true

Returns true if the value is a built-in WeakSet instance.

util.types.isWeakSet(new WeakSet());  // Returns true