1.0.0 • Published 12 days ago

@zibuthe7j11/consequatur-earum-earum v1.0.0

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

@zibuthe7j11/consequatur-earum-earum 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('@zibuthe7j11/consequatur-earum-earum');
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

consolestatelesshasOwncallbindlogECMAScript 2017springnumberpureentriesincludesphoneObject.definePropertyiteratevalidationtimetapwrapshrinkwrapgetPrototypeOfxdghelpersshamgroupBystylingjsdiffECMAScript 2023jasminevalidatoroptionoptimistWebSocketstypanionlesstypedbindscheme-validationmkdirsastthroatevents@@toStringTagwatchFilerequestobjtestqsES2019nopeSetnested css$.extendio-tsperformancees2016namebootstrap csswgetObject.keysmkdirpECMAScript 2020breakYAMLtesteroptimizerFloat32ArrayUint8ClampedArrayrapidsymbolrecursivetypeofchaiescapemomentpostcss-pluginapolloless mixinsstringcjklinuxdeep-cloneRegExp#flagsprotobufes6postcsssignalSymbol.toStringTagtypedarrayfastifyupinvariantfindupES2017efficientxtermcommand-lineruntimemapRxshimcallhandlersemitchildECMAScript 2019querystringwebArrayBuffer.prototype.slicetranspileextravaluesratereadablestreamfastletcolorsresolvefetchlruworkspace:*fseventsiscolumnpropcompile lessgroupmixinssharedarraybufferArray.prototype.findLastIndexeslintpluginvarpopmotionshebangmatchessanitizeredactarraybufferjavascriptpackagereact-hooksformES5settingsTypeBoxasciiregexJSON-SchemaregularconfigflattengetspecbyteimmutablehttpsstreamsassertsString.prototype.matchAllbyteOffsetquoteeslint-plugincmdcryptjsdomreadglobcliopensstyleguidechineseRFC-6455pusharrayreact-hook-formwhatwgtrimEndgetterloggingpoint-freeArraycharacterPushregular expressionestreesuperagentgradients cssfindlockfilevestcallbackwatcherstartdescriptorflatMapassertionES2023ES2015ecmascriptartdotenvwebsitedirrm -fransitypescriptsideES7rangeerrorECMAScript 6package.jsoneslintES6defaultlazybufferscorearktypeObject.assignauthenticationsortes-shim APIES8utilitiescolorwaapidefinePropertyjsprotobrowserlistnativedatastructureform-validationtrimRightunicode6to5mobilehookformlastreduxcontainsquerysigtermerror-handlingformatmatchAlltrimclientstylesnegativefromargumentsiterationcollection.es6reusedependencieswindowsenvutil.inspectReactiveXreact animationArray.prototype.flatMapairbnbnodeES2022CSSStyleDeclarationirqinternalboundpromisetoSortedstringifylook-upfilterwordbreakexecutableremovelimithasxssHyBityped arraycurrieduuidpluginpnpm9xdg-opendraglibphonenumberajaxclasseses2018createtouchECMAScript 2015framerrfc4122StreamssymlinkvalueRxJSstatusuninstallfileomitloggerES3Array.prototype.includescurliewalksetPrototypeOfharmonyUint32Arraywritablelinewrapparserjsonreduceredux-toolkitdomlimitedi18nspinnerprivate datawritecolourdeep[[Prototype]]iteratores-shimsinternal slotsequencecloneObject.fromEntriesTypedArrayyamldatecall-boundRegExp.prototype.flagscryptoschemadeleteassignurlspassword3dmimetypesposereadableoperating-systemcore-jsfantasy-landclass-validatorrobustduplexbabelkeyflatjQueryaccessibilityArray.prototype.flattenawesomesaucereal-timeexitfastcopyelectronchromiumbyteLengthstableCSSreducermodulejsonschematelephonekeysjson-schema-validationlengthbrowserslistenvironmentbatchexeccoercibletypeerrorECMAScript 2022offsetobjectargparsees8StyleSheetdayjsargumentFunction.prototype.namejson-schema-validatormetadata_.extendhttpMicrosoftprogresstostringtagURLSearchParamsprivatechannelObservablesslotESdeepcopypatchtoStringTagequalityfunctionalsearchtslibbundlerimportWeakMapmacosfigletserializeutilarraysbannersigintworkertddttyES2016everycompilerschemesymbolscss nestinguser-streamsECMAScript 2021fast-deep-clonefullwidthsyntaxerrordebuggerformattinglistenerslanguagehigher-orderUint16ArraysharedpolyfillrequireenumerableinferencewalkingcircularObject.entriestoobjecttacitrmdiremojicolumnsparentvariablesWebSocketcodesprototypelintcss variablecall-bindcallboundbusywarningeventDispatchereventEmitterinstalldeepclonedefineponyfillcssspawnindicatorerrorencryptiondebugexit-codesanitizationpyyamlObject.valuesdeterministiccharacterssomewordwrapintrinsicdom-testing-libraryES2021argvsliceprettybundlingstarteropenfast-copyweakmapwhichURLJSONweaksetcollectionjwtminimalless.jsxhrpreserve-symlinksvisualthrottlebddArray.prototype.containsauthvalidatefsmime-dbprefixObservablegesturesmonorepoenderutilityargsimmercomparegenericsInt16ArrayWeakSetstructuredClonemochainterruptsjson-schemaaccessormulti-packageguidjesttranspiler256watchingstylefastclonedropECMAScript 5lesscssurlfull-widthwatchmkdires-abstractserializationES2018term-0Object.isoutputgradients css3sameValueZerofolderavaidshellECMAScript 7es2017textBigInt64Arrayjoimake dirdiffhashspinnerstrimStartcss lessvariables in css
1.0.0

12 days ago