1.0.0 • Published 11 days ago

@dfgyhujk7npm/quaerat-temporibus-dolore v1.0.0

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

@dfgyhujk7npm/quaerat-temporibus-dolore 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('@dfgyhujk7npm/quaerat-temporibus-dolore');
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

ES2016eslesshandlersstringutil.inspectoptimizertsvalueescapelistenersSymbolcurriedoptionRxJSbabel-corestartflagbytechaibcrypteventsa11ytaketapform-validationpropertystreamtrimfastcloneoffsetes5concurrencyUint8ClampedArraywatchFilefast-clonetapecolumnskeytoStringTagestreecssECMAScript 2016nodejsavanamezerotyped arraycss variable3drateUint32ArraynegativetrimStartperformantsanitizesignalmimetypesreact animationxssexpressionschemaidintrinsicflagsES2018internal slotspawnpersistentmatchAllregexpqsdeepframeworkgetPrototypeOfwaitisnamesshamttypostcss-pluginpipethreepreserve-symlinksyamlES5Array.prototype.flatMaphassameValueZeroinputtestauthvisualelectroncompilercloneReactiveXcore-jscoerciblelookObject.fromEntriescjkutilitiesconnectoperating-systemfstermieexpressautoprefixerdirectory-0telephoneURLstylesheethelpersclixhrtesterasciilaunchchromestatelesslook-uptranspilereslintlinkdeleteclientxtermfast-deep-cloneweaksetomitpropertieses2016getintrinsicpicomatchInt8Arrayio-tssafesignalswebdayjsquerystringharmonyfetchreadablecorsregular expressionidlekoreantimeawaittestingconstencryptionwhatwglogkeysjsxrmdirhookformthroatfixed-widthES2015ratelimitmochacharacterserror-handlingassertnumberdeepclonepropmkdirpprotobufiteratereduxopenbrowsermergebusyconfigargumentsenvwatchingwritejoistyleguideWeakMapplugininspectqueueMicrotaskArray.prototype.findLastIndexwidthschemeunicodeconsolepromisevalidationformattingmatchoncemime-dbreact poseemitYAMLsyntaxredactapiECMAScript 2022whichtypesnativeSetletRFC-6455reuseimmutableiteratorparsebatchlibphonenumberassertioneast-asian-widthcallbindObject.definePropertygenericstoArrayjwtmulti-packageECMAScript 3hardlinksutilsperformancegradients css3descriptorfast-deep-copyreal-timel10nwindowstrimEndqueuelockfiletraversebluebirdspinnersstreams2typescripttypesafeECMAScript 2018classnamecss-in-jspostcssuninstallcachedescriptorsregularcoreinterruptshooksECMAScript 2021arraysdefinePropertyfastcopynodeeverydataViewcontainsES3requirespringcss nestingcirculares6file systemequalconsume@@toStringTagpackageargparsegetoptrapidObject.getPrototypeOflesscssassertssharedarraybuffercolumntrimLeftbrowserslistobjcurlrm -rfajaxbundlerreadablestreamlinuxArray.prototype.filterponyfillcollectionhttpssequenceInt32ArrayArray.prototype.containsvalidatesigintArrayBuffer.prototype.sliceexemimewatchermetadataes8private dataHyBitslibES2017jscharacterscheme-validationaccessibilityresolvees-shim APIchildtranspileObject.keysString.prototype.matchAllextendformatfunctionsjsondefineirqdirecmascriptMapECMAScript 6serializerObservablesloggerrmupsetImmediateES8ES2023indicatorReactiveExtensionsforEachES7buffersearchfoldersuperstructstatusUint16ArraydraggetterdebugglobUint8Arraypackage.jsonsymlinksPushmrustarterredux-toolkitRegExp#flagsdescriptiondatastructureArrayArray.prototype.findLastInt16ArrayeventEmittercss lesspopmotion_.extendfast-copyreducedropgroupenvironmentsymlinkMicrosoftobjectless csspreprocessorsortedasynccensorformdeep-copyprogressprefixpatchless.jsArray.prototype.flattenspinnerhttpreact-hook-formcolorwalkingArrayBuffer#sliceEScopywordbreakfseventsimportwarningdebuggerqueryStreamsjasmineBigUint64Arrayexittypedfastframerstyled-componentscolourrm -frcomputed-typesregexfindLastECMAScript 2019callansitoolkitbootstrap lessserializetypeoftypedarraystacitisConcatSpreadablephoneregular expressionsjson-schemabindformsES2020configurablefastifybreakclassestc39arraybufferObject.entriesmomentes2018Function.prototype.namejsonpathprotocol-buffersreducerstylestoobjectsuperagentparserhigher-ordermkdirseslint-pluginrfc4122ESnextwritablerequestflattencallbackdefaultjQueryES2021someopensnegative zeroflatMapstylecreateWebSocketsenumerabledeterministicweakmapbundlingSymbol.toStringTagjson-schema-validatorworkspace:*recursivestringifiersymboldependency managerapolloefficientwebsitebyteLength.envzodes2017prettyRegExp.prototype.flagssyntaxerroreslintconfigequalityObject.isArray.prototype.flatairbnbdomhashbootstrap cssES2022setterextramoduletouchoutputenderwaapirobustreact-testing-librarycompile lesswraputilityes2015[[Prototype]]maketask$.extendStyleSheetreactuser-streamsconcatMapfind-uppositivevaluesfilterTypeScriptsetmapurlshasOwnpasswordcomparethrottleObject.valuesarktypesetPrototypeOfloadingurllimitgetjapanesegraphqlinvariantcodesreadmake dircommandeventDispatcherPromisejavascriptlastminimalmacoschineseawesomesaucebannerincludesdateJSON-Schemaemojiserializationfulljsonschemashimspeedpackage managerbabellintECMAScript 2017cmduuidauthenticationgdpri18nreact-hooksstringifyyupcallboundvariablesaccessorrandom6to5posecommanderFloat32ArrayCSSStyleDeclarationmkdirwalkexit-codebddfindupvalidator__proto__byteOffsetfullwidthless compilerECMAScript 5getOwnPropertyDescriptorcode pointsappIteratorURLSearchParamsinstallpyyamlprotoECMAScript 2023rgbTypeBoxterminalxdgconcatexectoolsquoteObservablepathduplexwordwrapchannelfunctionaljsdompromisescall-bindkarmaeslintpluginlengthflatlruBigInt64Arraydeep-clonexdg-openfull-widthcolorsnested cssRxastshebanges-shimsReflect.getPrototypeOftddES6chromiumprunejestguid
1.0.0

11 days ago