1.0.0 • Published 8 months ago
@ryniaubenpm2/quibusdam-quis-nisi v1.0.0
@ryniaubenpm2/quibusdam-quis-nisi
Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Example
var isWeakMap = require('@ryniaubenpm2/quibusdam-quis-nisi');
assert(!isWeakMap(function () {}));
assert(!isWeakMap(null));
assert(!isWeakMap(function* () { yield 42; return Infinity; });
assert(!isWeakMap(Symbol('foo')));
assert(!isWeakMap(1n));
assert(!isWeakMap(Object(1n)));
assert(!isWeakMap(new Set()));
assert(!isWeakMap(new WeakSet()));
assert(!isWeakMap(new Map()));
assert(isWeakMap(new WeakMap()));
class MyWeakMap extends WeakMap {}
assert(isWeakMap(new MyWeakMap()));
Tests
Simply clone the repo, npm install
, and run npm test
real-timepreprocessorequalhashcontainsutil.inspecttypedarraysquerykoreanswfexestreams2Object.assignlogginglesscssreact-testing-librarystatusmkdirzeroexitescapeasyncless compilerjsmonorepotypesafexhrWeakSetpackage.jsonextrahas-ownopensetImmediateconfigtapeshebanglazyelasticachepreserve-symlinksarrayawaitglobalUint8Arraysafecacheimmutableserializemixinscss nestingelmautoprefixerviewlengthchromiumchannelreact$.extendwritableparsettysliceregulartestergdprspinnereast-asian-widthfast-deep-cloneguidkarmainstallmakeObject.valuesextensionES3characterssetPrototypeOfJSON-SchemalastArray.prototype.flattypeerrorfileSymbol.toStringTagconsoletc39String.prototype.trimYAMLtestinges2016mimetypesTypedArrayfixed-widthvestgetintrinsicsetrmtypeshasOwnPropertyuptyped arrayUnderscoreshellcss lessmoduleseveryidlequeueMicrotaskArrayjwtassignmomentcommandercall-bind_.extendweakmapgetOwnPropertyDescriptorformatinstallercreatereplaynegativeArrayBuffer.prototype.slicelibphonenumberes2018throatconcatMaprgbflagsrecursivesigtermhasUint32ArrayobjectremovespawnkeyenvironmentReflect.getPrototypeOfsimpledbWebSocketsignalsdomdataviewreducerformattingWeakMapentriesInt16Arrayyupcloudformationbuffersrfc4122Array.prototype.filterduplexdatemake direc2parentsmodulecss variableoutputstringifyoperating-systemsetterslothelpersschemeisregular expressiondeepcopya11ybusyECMAScript 2016-0ReactiveExtensionsJSONequalityroute53unicodecolourtypescriptlaunchObject.keysfind-upcore-jsloggersnsajvpatchfromStreamES2016immerHyBiRFC-6455compilerweaksetgetboundbannercloudfrontdiffrandomhandlersrm -rfpersistentworkspace:*propdefaultsiderdsprogresscolorES2023clonegenericsclassnameregular expressionswriteratelimitspecless csspromisesredactcoerciblestableglobalscjkrestfulcoreimportregexwalkingamazonStreamsurlebstoSortedelectronPushpromiseglacierwgetlessObject.fromEntriescolorstestsequencebatchessymlinkRxdataViewfseventsdirfindquerystringcode pointsconsumestylingflattentoStringTagtddcollection.es6timehasOwnstatepushrequiresqsreusesortedpropertystyled-componentsObjectrmdirwordwrapagentFloat32ArraycopyapicallbackmimeeventDispatchereventsfullwidthobjvaluecryptointernal slotnamesgrouppostcss-pluginarraysfullbyteOffsetES2022keysflagiteratorlinuxbddformsuninstallSymboltraversedom-testing-libraryCSSStyleDeclarationsesshimframeworkes5iterationnameargumentsphonees-abstractlimitedtoolkitArray.prototype.flattentslibcolumnrm -frnopeshamnumberstartdayjsimportexportfpswhichiamexecutablejapanesejoiReactiveXmime-dbargparseSetstdlibCSSECMAScript 2023awesomesauceconcurrencycharacterbreakbindES2017.envstylefaststatelesswebconcatES6matcheslinkencryptionkinesistrimRightsyntaxerrorcompareprototypeshrinkwraptypanionieES7xdg-openreadablestreamcloudtrailloadbalancingratelanguagehttpsparentgetPrototypeOfelbtermclassesdeepclonelognested csswatchingliveinputpolyfillworkerbuffertakeES2019postcssterminalrangeerrorrobustcryptdebuggeres8xtermtypedserializersymlinksnodeeslintendpointperformanceESstylesfiltersinatrabrowserlistcallbindECMAScript 2021environmentsArrayBufferes-shimsassertsMicrosoftmergeio-tsavaES2015touchUint8ClampedArrayredux-toolkitsharedStyleSheetbytesameValueZerotypeoffolderastfast-deep-copymochal10njavascriptform-validationdefineES8speedsuperagentmapfetchproxyes2015settingslrumetadataMapcomputed-typesautharraybufferfull-widthArray.prototype.findLastIndexcolumnsstringifierargsparsingassertionenvi18nmoveprivaterestinspectwindowscompile lessvarsinterruptscommandpassworddeterministicestreeprotocol-buffersnpmstoragegatewayinprettypredictableuuideventEmitterdeep-copytoobjecteslintpluginxdgtextbundlingdependency managerjsdomvaluesconnectIteratorargumentiteratequotemkdirplintwordbreakRxJSpipetrimLeftefficientsignalidentifiersObject.definePropertyaccessorerrormatchAllfluxcollectionTypeScriptfunctionaltypechromecss-in-jsgradients cssoffsetFunction.prototype.namesigintpositivequeuewatcherECMAScript 2022fastifymatchbootstrap lessTypeBoxcloudsearchbyteLengthcalltoArrayObject.entriesemitemrcall-boundArray.prototype.includestoolsqsappjsdiffbeanstalkcodesstreamsinferenceeslint-pluginprivate datajasmineparserecmascriptvariables in csscmdFloat64ArrayURLSearchParamswafconfigurablefunctionindicatorwidthString.prototype.matchAllcloudwatchflatArray.prototype.flatMaploadingdescriptiongradients css3debugstreamObject.getPrototypeOfdynamodbtapArray.prototype.containses2017bluebirdbootstrap cssmapreducescheme-validationes-shim APIdescriptorvisualextendreact-hook-formreducesharedarraybufferESnextairbnbfigletprocessvpcdropInt32ArraydefinePropertydependenciesargvjshintjestcallboundBigInt64ArraymiddlewareprotobufinvariantES2021asciiwrapwatchFileintrinsictrimStartObservablebundlernodejsawslockfilehttpsyntaxvalidationauthenticationcorslinewrapidyamlrequestRegExp#flagsECMAScript 6look-upjQueryinternalglobreadableopensemojimacosArrayBuffer#sliceeditorclass-validatorstylesheetObject.isperformantsortECMAScript 2017ECMAScript 5assertsymbolspropertieserror-handlingAsyncIteratormulti-package[[Prototype]]variableses7workflowArray.prototype.findLastponyfillRegExp.prototype.flagsPromisefast-copychecktelephonetrimwalkgetoptlimitstringartrapidfsurlsfindLastIndexlistenersjsonpatheslintconfigtaskclifastcopydatastructureoptimizerES2018jsonarktypeless.jschaipruneformexit-coderesolvefast-clonees6WebSocketssuperstructjsxtsdotenvoptionregexpcommand-line
@f1stnpm3/dolores-distinctio-enim@f1stnpm3/sunt-ullam-minus@ryniaubenpm2/adipisci-accusantium-dicta@ryniaubenpm2/aut-explicabo-velit@ryniaubenpm2/cupiditate-modi-doloribus@ryniaubenpm2/doloremque-aperiam-dolorem@ryniaubenpm2/ea-commodi-voluptatibus@ryniaubenpm2/ea-facere-cum@ryniaubenpm2/eveniet-asperiores-corporis@ryniaubenpm2/facere-rem-id@ryniaubenpm2/ipsam-doloribus-ad@ryniaubenpm2/iste-nostrum-quos@ryniaubenpm2/labore-velit-cupiditate@ryniaubenpm2/laudantium-quo-amet@ryniaubenpm2/magni-ullam-optio@ryniaubenpm2/minima-ea-distinctio@ryniaubenpm2/nesciunt-molestiae-quasi@ryniaubenpm2/omnis-placeat-nostrum@ryniaubenpm2/perferendis-quasi-voluptatibus@ryniaubenpm2/perspiciatis-cum-est@ryniaubenpm2/porro-excepturi-distinctio@ryniaubenpm2/porro-incidunt-fugiat@ryniaubenpm2/quae-consectetur-aut@ryniaubenpm2/recusandae-architecto-tempora@ryniaubenpm2/reiciendis-excepturi-aliquam@ryniaubenpm2/saepe-corporis-ullam@ryniaubenpm2/sed-qui-enim@ryniaubenpm2/sequi-similique-nihil@ryniaubenpm2/veniam-occaecati-impedit@ryniaubenpm2/voluptatem-architecto-praesentium@ryniaubenpm2/voluptatem-possimus-deleniti@ryniaubenpm2/voluptates-velit-minima
1.0.0
8 months ago