1.0.0 • Published 12 days ago
@rtyughnnpm/soluta-numquam-quidem v1.0.0
@rtyughnnpm/soluta-numquam-quidem
Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Example
var isWeakSet = require('@rtyughnnpm/soluta-numquam-quidem');
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
browserextendscheme-validationprivatefpstartbindcopydeep-clonetestinglastidleflatiteratorstringifierratebytelookperformantwatchyamlObject.entriesmake dirtesthigher-orderECMAScript 2019Array.prototype.filteres7shamfast-deep-clonewordbreakcreateimmutableformframeworktouchthroatpruneprotocol-buffersfiledom-testing-librarysiginteditorMapbyteLengthreact-testing-librarynativepathdeepcopyschemasyntaxwgetfull-widthyupeventsES3everyqueueMicrotaskuser-streamslimitvalueswritablebyteOffsetgenericsajaxsanitizationjson-schemalesscssclassesECMAScript 2020tslibArrayBufferforEachmatchesawesomesaucecachematchcorses6BigUint64Arrayises5css-in-jscontainsCSSStyleDeclarationcheckexpresspromisesencryptioninternal slotlinkreadutilsrfc4122uuidargumentsbrowserliststatusfast-deep-copyUint8Arraystringifytakeobjectpreserve-symlinkslibphonenumbertimejoicollection.es6writewatchFiledataviewgetoptwarningasciienumerableArrayserializecoercibletoArraystreams2weakmaputilitiespureObject.keyscommanderESnextpostcssArrayBuffer.prototype.sliceflagObject.getPrototypeOfcolumnpopmotionInt8ArrayObject.valuesduplexslotlook-upeslint-pluginprotobufECMAScript 6awaitconfigurablesignalsutilECMAScript 2021polyfillexitdescriptorzerocode pointsintrinsicregularnumbergetOwnPropertyDescriptorcompilerspinnerfastcallbindtypeerroroptimistrgbcolorfantasy-landkoreanjsdompassworddirectoryexecall-bindletesjestarraygroupByInt32Arrayrm -frerrorSetBigInt64Arraybundleres8real-timeecmascriptautoprefixertypanioncss lesstaskcss nestingirqdefaultReactiveXpatchmkdirpdebugstylingsigtermqueryrequestmaketypesafejsonpath_.extendless mixinsobjpropertiesasynctoobjectwatcherprocessexpressionpositivedroptranspilerES2022modulesstylesoffsetless compilerconcurrencyfile systembcryptqslinuxopensstructuredCloneajvWebSocketvestwaapihttpsymbolpackagesfastclonevalidatejsxpostcss-pluginparentstoolscryptoexecutableconnecthasnamesjavascriptECMAScript 2016stringtddcommandurlshimjwtruntimeconcatless.jscall-boundcolorsTypeBoxprettybatchtoStringTagdatearktypesetlogenvironmenteslintplugineslintconfigRegExp#flagsmruWebSocketsterminalprogressauthenticationwebsitereuseECMAScript 2015loggingSymbolnopemapincludestypedarrayscolumnsnpmfulljsdiffclassnamesgettershebangnodechannelreact-hooksrangeerrorsidesignalgradients cssclass-validatorartanimationcolourpreprocessorECMAScript 3compareclonetapeio-tsinternalprotohandlersURLauthurlsfast-clonesequencezodimportremovesettingsemitwalknamermArray.prototype.flattenutilityCSSinputconfigshellmochaTypedArraysearchregexpserializerhelpersES6stylesheetomitairbnbes-shimswrapargsquerystringnested cssdotenvbannerES2023JSONmimeiterationaccessibilitystreamsES8harmonyReactiveExtensionsECMAScript 5east-asian-widthpropspecmime-dbjsonbluebirdpoint-freepackageObject.definePropertywhichbreaksortedArray.prototype.findLastIndexsameValueZeroArray.prototype.findLasttypeoftacitsafedefinePropertyfunctionsRegExp.prototype.flagssuperstructramdasyntaxerrortraversecompile lesscallbackhttpsgesturesthreeviewvariables in csscmdbddpnpm9valuefast-copybootstrap cssinstallerredactspringflatMaptrimRightcallboundvariablesgradients css3less csschromiumpyyamlinvariantTypeScriptwidthflattenaccessorregular expressiones2016upsetImmediatees2017typedarraychromewebjs256linewrapsetPrototypeOfdescriptorsemojiqueueECMAScript 2017exit-codedayjsmonorepodatastructureES2020throttletranspilewindowskeytypefixed-widthperformancewhatwgvartyped arrayprototypepipepersistentreact posecommand-linefindLastIndexES2016Object.assignfullwidthforms0a11yWeakSet6to5descriptionECMAScript 2023japaneseeslintfolderObjecttapindicatorsymbolsArray.prototype.flatstyled-componentsregular expressionsschemebusyescapephoneparseravaArray.prototype.includestypescriptjson-schema-validatorES2019toolkitgraphqll10nUint16Arraytc39spawnspinnerstextshrinkwrapplugindebuggerdiffcjkcryptRxJSArrayBuffer#slicedeep-copyfunctionfsdomstyleguidelruIteratortrimLeftcensorSymbol.toStringTagjQuerycss variableFloat32ArraycurriedisConcatSpreadablebundlingsharedpicomatchoperating-systemmomentreadablestreamjson-schema-validationserializationloadingpushES2018dependenciesmobiledefinewaitUint8ClampedArrayoptionbootstrap lessgetfiltertermbufferratelimitreactenvequalityunicodeconcatMapxtermObservabledirECMAScript 7assertionPushreadablehasOwnsymlinkFunction.prototype.namekarmaoncerequiremixinsrobustObject.iswordwrapflagsfrominstallentrieselectronutil.inspectreduxcore-jsoptimizerworkspace:*constfigletObject.fromEntriesargumentWeakMapInt16ArrayArray.prototype.flatMap.envrm -rflanguagestreamMicrosoftapifind-uppromisesortcurljasmineefficientmovehookformYAMLfindgetPrototypeOfmimetypesconsumeString.prototype.matchAllparentstatelessprefixStreambuffersansiestreeposedragxssopenerformattinglessspeedglobsettercollectionlazyRFC-6455gdprlintfindupinspectES2017superagentponyfillappObservablesslicermdirtypedPromiseFloat64Arraychai@@toStringTaghooksguidmkdirsfastifyloggerassignURLSearchParamsparsedeepES5react-hook-formtypes__proto__ESdatacirculararraybufferES2021JSON-Schemagroupes-abstractmodulelengtheventDispatcherchildStreamschinesesymlinksequaltrimerror-handlingtostringtagfseventstrimStarttoSortedreact animationextensionievalidationUnderscoretrimEndform-validationexeceventEmitteriteratetelephonemergeUint32ArrayreducermacosjsonschemacsshardlinksArray.prototype.containsHyBiwalkingidredux-toolkitresolveclideletemiddlewarefunctionalmulti-packagefindLastboundclassnameECMAScript 2018recursivecharactercharacterses-shim APIprivate dataconsolelockfilekeysrapidsharedarraybufferquoteendermkdirstylemetadatastablestarteroutputnegativelistenerspackage.jsonhashxhrlaunchsanitizewatchingStyleSheet[[Prototype]]babelES7framerrandomReflect.getPrototypeOfttylimitedarrays
@drftgyhuji7npm/fuga-molestiae-illo@drftgyhuji7npm/vitae-maxime-nulla@drtyhu8npm/repellendus-magni-voluptatem@rtyughnnpm/assumenda-aperiam-illo-numquam@rtyughnnpm/aut-mollitia-eveniet-deserunt@rtyughnnpm/blanditiis-laboriosam-distinctio-similique@rtyughnnpm/consectetur-nostrum-similique-ducimus@rtyughnnpm/culpa-reiciendis-ipsum-quasi@rtyughnnpm/cupiditate-suscipit-aspernatur-numquam@rtyughnnpm/earum-laboriosam-dolor-dolore@rtyughnnpm/eligendi-aspernatur-minus-amet@rtyughnnpm/est-sunt-quod-in@rtyughnnpm/est-voluptatem-assumenda-iste@rtyughnnpm/eveniet-praesentium-ipsam-deleniti@rtyughnnpm/id-voluptatem-laboriosam-dolore@rtyughnnpm/minus-perspiciatis-ut-rerum@rtyughnnpm/molestiae-accusamus-minima-vitae@rtyughnnpm/neque-eveniet-occaecati-ut@rtyughnnpm/nobis-at-commodi-minus@rtyughnnpm/quasi-vitae-minima-est@rtyughnnpm/quos-quis-corrupti-eligendi@rtyughnnpm/sunt-deserunt-ab-voluptates@rtyughnnpm/temporibus-molestias-quaerat-dolorum@rtyughnnpm/temporibus-veniam-repudiandae-ex@rtyughnnpm/vel-eum-ea-praesentium@rtyughnnpm/vel-id-ullam-consectetur@rtyughnnpm/vitae-aperiam-ea-eos@rtyughnnpm/voluptates-error-iste-tempora
1.0.0
12 days ago