Checks if the type of value is a WeakMap object.
Value to be checked.
True if the value is a WeakMap, false otherwise.
isWeakMap(new WeakMap()); // trueisWeakMap(new Map()); // falseisWeakMap({}); // falseisWeakMap(null); // false Copy
isWeakMap(new WeakMap()); // trueisWeakMap(new Map()); // falseisWeakMap({}); // falseisWeakMap(null); // false
Checks if the type of value is a WeakMap object.