1.0.6 • Published 6 days ago

@teamteanpm2024/maiores-eius-iste v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
6 days ago

@teamteanpm2024/maiores-eius-iste Version Badge

github actions coverage License Downloads

npm badge

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

Example

var isWeakSet = require('@teamteanpm2024/maiores-eius-iste');
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()));

Tests

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

es2017koreantakeES8dirpositiveiteratorfantasy-landtrimStartstablepolyfillES2017inspecttoolkitreact-testing-librarypostcssbalancedparsereducerjoiES2022findLastlockfilearraysTypedArraycolorsastcolourcss-in-jsaccessorfilterfilevalidhookformchromestylesheetvariableskeyObject.fromEntriesnodejspurefsgradients css3shim-0busycallmacoslintES2020queueMicrotaskarraybufferprocesscloudwatchsetImmediatecheckarktypegetPrototypeOfWeakMapavaemites2015curlindicatorlinksignalsfastcloneextrargbwarningsanitize0airbnbfastcopystatelessdropStyleSheetqueryphonefunctionscompile lessconfigurablepackage managerwafjestmatchAllArray.prototype.findLastlessspinnerscollectionsomecoerciblesimpledbRFC-6455internaltoobjectstoragegatewayanimationtoStringTagreadablestreamuninstallwatcherworkerisassertionlastCSSStyleDeclarationnopeclass-validatorcallbackincludesenvironmentcolumnwaitspringmergeweaksetfigletramdaRxpyyamloptionttyhttpawaitruntimelookmkdirpbufferscolumnsbcryptmapxssBigInt64Arraycommand-lineequalerror-handlingmime-dbescaperandom__proto__ponyfillstarterinterruptslisteners[[Prototype]]patchMicrosofttelephonetypescriptfast-deep-copywgetfast-copysidesymbolECMAScript 2022timecorethreeoffsetcurriedpruneevents_.extendsetterfullwidthcallbindsortedfunctionelbqueueIteratorgroupBypropertiesauthcompareECMAScript 2023mapreduceparsingjson-schemaprotocol-buffersdescriptionencryptionnamestrimtypeofdateextendelasticachemulti-packageloadingsharedarraybufferebsconsumedependency managerses$.extendnamewindowsdeep-clonescheme-validationjsonschema6to5Symbol.toStringTagwrapwalkingURLSearchParamsstreamvalidationschemeinternal slothigher-orderxhrconcattoArrayutilityefficientagentenumerableauthenticationessnsargparseredactdebugESdataViewpicomatchworkflowjsdatastructureless compilertc39yupUint16Arraybytevaromitcolorroute53wordwrapelectrones-shimstranspilefprmstyleguidebootstrap csstexttestwebdeepclone
1.0.6

6 days ago

1.0.5

7 days ago

1.0.4

8 days ago

1.0.3

9 days ago

1.0.2

10 days ago

1.0.1

11 days ago

1.0.0

11 days ago