2.1.20 • Published 1 year ago

@devtea2027/mollitia-vero-eos-labore v2.1.20

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@devtea2027/mollitia-vero-eos-labore Version Badge

github actions coverage License Downloads

npm badge

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

Example

var isSet = require('@devtea2027/mollitia-vero-eos-labore');
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

testerES5elasticacheutilwritableescapeBigInt64ArrayguidcloudfrontES2023assertutilitiesgenericsfile systemfast-cloneArray.prototype.findLastIndexcryptforEachansilastchildnamestrimStart__proto__mime-dbnativeespropertytelephonereadisjsdiffArray.prototype.flatMaplogenumerableincludesECMAScript 2016less csshardlinksmatchES2018eventEmitterprettyES2021[[Prototype]]keyObject.definePropertywalkchromeurlglacierlimitedavauuidObject.valuesRegExp.prototype.flagslistenersdirfindbannermkdirplooktypanionserializertypedarrayqscacheObservableseventDispatcherpyyamlpipechaisideeditorprefixttyimportdeep-cloneArrayBufferexeconfigtoArrayECMAScript 2019executabletypescriptcomputed-typesbatchartMapbindWebSocketfastifybddes2015storagegatewayreadablestream_.extendspeedwaitrequestsettingsmimeserializationshellkeyssymbolstatelesscloudtrailbundlingpnpm9takeArray.prototype.containsconcatMapcharacterdataviewsesfunctionObject.entriesvalidationstdlibentriesflagratelimitpatchinternaldefaultString.prototype.trimECMAScript 2015shebangglobalECMAScript 3ES8dynamodbcss nestingterminalregular expressionAsyncIteratorreducemodulestylessafeproppostcssstructuredCloneargumentssetImmediateec2Streameventssigtermes5sharedUnderscoresigintxhrfseventstoolslinkmodulesdefineebstypewatchFileform-validationidconcatcolorhttpimmerpolyfillequalarraystreamconsumespawnwhatwgfast-deep-copyTypedArrayutil.inspectindicatorelmdefinePropertyiterationdropbufferautoprefixerfullspeccss-in-jsspinnerclass-validatorkoreanfunctionalreact-testing-libraryReflect.getPrototypeOfdependency managerlintfilterlanguagecircularlengthworkflowcss lesswarningargumentreduxES7shamidlegradients css3zeroflattenArray.prototype.flatWeakMapqueueMicrotaskawscolourdom-testing-librarystablesameValueZeroautharktypeloadbalancingjasmineroutermatchAllsinatradomyamli18nextendtouchSymbol.toStringTagvariablesconcurrency-0JSON-Schemarestfulrobustomitjsxaccessibilityexeciterator256foldertslibpropertieswatchingenderIteratorUint32Arraycolumnsrangeerrorprunees20160datastructurewindowseslintES2020hooksgroupBytraversees2018rdswatchslotArray.prototype.filterextensionvestmetadatafigletstatusequalitydeepcopynodejscommanderbyteLengthpositiveopensauthentication
2.1.19

1 year ago

2.1.20

1 year ago

2.1.18

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.14

1 year ago

2.1.15

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.2

1 year ago