util.types.isWeakMap(value)


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

util.types.isWeakMap(new WeakMap());  // 返回 true

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

util.types.isWeakMap(new WeakMap());  // Returns true