isWeakSet

Lang
since 4.3.0

Arguments

  • * The value to check.

Returns

boolean `true` if `value` is a weak set, else `false`.

Checks if value is classified as a WeakSet object.

Example of Lodash _.isWeakSet

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

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