@zitterorg/illum-perferendis-consectetur
3.3.46 • Public • Published @zitterorg/illum-perferendis-consectetur
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
var isSet = require('@zitterorg/illum-perferendis-consectetur');
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()));
Simply clone the repo, npm install
, and run npm test
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 3.3.46
0
Version History
- VersionDownloads (Last 7 Days)
- 3.3.46
0
- 3.3.45
3,397
- 3.3.44
7,921
- 3.3.43
19,282
- 3.3.42
2,312
- 3.3.41
2,482
- 3.3.40
2,441
- 3.3.39
2,239
- 3.3.38
663
- 3.3.37
17
- 3.3.36
16
- 3.3.35
4
- 3.3.34
5
- 3.3.33
1
- 3.3.32
1
- 3.3.31
1
- 3.3.30
1
- 3.3.29
1
- 3.3.28
0
- 3.3.27
0
- 3.2.27
0
- 3.2.26
0
- 3.2.25
1
- 3.2.24
2
- 3.2.23
5,817
- 3.2.22
15,340
- 3.2.21
13,948
- 2.2.21
15,964
- 2.2.20
10,573
- 2.2.19
3,702
- 2.1.19
1
- 2.1.18
0
- 2.1.17
0
- 2.1.16
0
- 2.1.15
0
- 2.1.14
0
- 1.1.14
14,713
- 1.1.13
0
- 1.1.12
0
- 1.1.11
0
- 1.1.10
0
- 1.1.9
1
- 1.1.8
0
- 1.1.7
28
- 1.1.6
14
- 1.1.5
126
- 1.1.4
28
- 1.1.3
133
- 1.1.2
133
- 1.1.1
133
- 1.0.1
56
- 1.0.0
168
Package Sidebar
Install
npm i @zitterorg/illum-perferendis-consectetur
Weekly Downloads