Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

is-set

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

is-set

Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

    2.0.2latest
    Github

Version published
Maintainers
1
Weekly downloads
9,729,487
increased by9.43%

Weekly downloads

Changelog

Source

v2.0.2 - 2020-12-13

Commits

Readme

Source

is-set Version Badge

dependency status dev dependency status License Downloads

npm badge

Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

Example

var isSet = require('is-set'); assert(!isSet(function () {})); assert(!isSet(null)); assert(!isSet(function* () { yield 42; return Infinity; }); assert(!isSet(Symbol('foo'))); assert(!isSet(1n)); assert(!isSet(Object(1n))); assert(!isSet(new Map())); assert(!isSet(new WeakSet())); assert(!isSet(new WeakMap())); assert(isSet(new Set())); class MySet extends Set {} assert(isSet(new MySet()));

Tests

Simply clone the repo, npm install, and run npm test

Keywords

FAQs

What is is-set?

Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

Is is-set popular?

The npm package is-set receives a total of 9,318,596 weekly downloads. As such, is-set popularity was classified as popular.

Is is-set well maintained?

We found that is-set demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 13 Dec 2020

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc