4.17.11
3.10.1
2.4.2
1.3.1

_.isWeakSet(value)

Checks if value is classified as a WeakSet object.

Since

4.3.0

Arguments

argument
value
type
*
description
The value to check.

Returns

(array)

Example

_.isWeakSet(new WeakSet());
// => true

_.isWeakSet(new Set());
// => false
_.isWeakSet(new WeakSet());
// => true

_.isWeakSet(new Set());
// => false