isSet

Lang
since 4.3.0

Arguments

  • * The value to check.

Returns

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

Checks if value is classified as a Set object.

Example of Lodash _.isSet

_.isSet(new Set);
// => true

_.isSet(new WeakSet);
// => false