[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
npm install @dfgyhujk7npm/quaerat-temporibus-dolore[![github actions][actions-image]][actions-url]
[![coverage][codecov-image]][codecov-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]
[![npm badge][npm-badge-png]][package-url]
Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
``js
var isWeakSet = require('@dfgyhujk7npm/quaerat-temporibus-dolore');
assert(!isWeakSet(function () {}));
assert(!isWeakSet(null));
assert(!isWeakSet(function* () { yield 42; return Infinity; });
assert(!isWeakSet(Symbol('foo')));
assert(!isWeakSet(1n));
assert(!isWeakSet(Object(1n)));
assert(!isWeakSet(new Set()));
assert(!isWeakSet(new WeakMap()));
assert(!isWeakSet(new Map()));
assert(isWeakSet(new WeakSet()));
class MyWeakSet extends WeakSet {}
assert(isWeakSet(new MyWeakSet()));
`
, and run npm test`[package-url]: https://npmjs.org/package/@dfgyhujk7npm/quaerat-temporibus-dolore
[npm-version-svg]: https://versionbadg.es/inspect-js/@dfgyhujk7npm/quaerat-temporibus-dolore.svg
[deps-svg]: https://david-dm.org/inspect-js/@dfgyhujk7npm/quaerat-temporibus-dolore.svg
[deps-url]: https://david-dm.org/inspect-js/@dfgyhujk7npm/quaerat-temporibus-dolore
[dev-deps-svg]: https://david-dm.org/inspect-js/@dfgyhujk7npm/quaerat-temporibus-dolore/dev-status.svg
[dev-deps-url]: https://david-dm.org/inspect-js/@dfgyhujk7npm/quaerat-temporibus-dolore#info=devDependencies
[npm-badge-png]: https://nodei.co/npm/@dfgyhujk7npm/quaerat-temporibus-dolore.png?downloads=true&stars=true
[license-image]: https://img.shields.io/npm/l/@dfgyhujk7npm/quaerat-temporibus-dolore.svg
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/@dfgyhujk7npm/quaerat-temporibus-dolore.svg
[downloads-url]: https://npm-stat.com/charts.html?package=@dfgyhujk7npm/quaerat-temporibus-dolore
[codecov-image]: https://codecov.io/gh/inspect-js/@dfgyhujk7npm/quaerat-temporibus-dolore/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/inspect-js/@dfgyhujk7npm/quaerat-temporibus-dolore/
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/@dfgyhujk7npm/quaerat-temporibus-dolore
[actions-url]: https://github.com/dfgyhujk7npm/quaerat-temporibus-dolore/actions