1.0.0 • Published 1 year ago
@f1stnpm3/consequatur-tempore-nemo v1.0.0
@f1stnpm3/consequatur-tempore-nemo 
Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Example
var isWeakMap = require('@f1stnpm3/consequatur-tempore-nemo');
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
redactprotobuf0rangeerrormatchesstructuredClonefpstimeES5functionsendpointprotocol-bufferslibphonenumberrdsperformancefastclone.envrequireoperating-systemtaperoutingnested cssecmascriptinterruptsautoscalinghasOwnPropertymovedayjsspeedperformantcircularUint8ClampedArrayspinnerdirectoryefficientfunctionalairbnbjsdomdebugclassnamecss variableratelimitsetrateglobdataViewenvfilterStreamFloat32Arrayexit-codeequalityrm -rfprivate dataes8emrobjectstyled-componentscssIteratoriteratorframeworkgradients cssreduxarrayECMAScript 2020npmmaphasfindlanguageelectronemojipostcsstostringtagestreeES2021formatflattenpredictablescheme-validationreduceres-shimsthroatglacieroptimistfigletmixinsworkspace:*less compilerfolderString.prototype.trimes-abstractparsingaccessorfluxObject.valuesparserECMAScript 6chaisidefile systemparentscryptoliveweaksetencryptionmacosECMAScript 3ObservabledeterministickarmaopencommanddescriptionES3configurablerobustmapreduceinspectwritesameValueZeroaccessibilitywrapECMAScript 2023readjoimoduleswatchingincludeslook-upjasmine__proto__BigInt64ArrayURLSearchParamstoolsroutedeepcopyPromiseyupconfighttpsawaitArray.prototype.findLastIndexsortWeakMapoffsetprivateiedirpyyamlchannelgetoptCSSuuidReflect.getPrototypeOfcensordependency managerargsES2018numbertypedarraystextMaptesterjsonasttrimRightawstermhas-owncloudfrontgroupByphonesignalstrimStartUint8Arraypnpm9classesreact-testing-librarybusyvariablesspinnersRegExp.prototype.flagschromiumexpresstypeerrorl10ntrimLeftObject.iswalkingless mixinswatchhardlinkshttpdotenvArrayfindLastIndexES2019Array.prototype.filtertaskPushinstallerlockfilemkdirfastcopycolourauthenticationdeepclonebeanstalksignalflatMapes2015packagespicomatchUnderscoreargparseWeakSetStyleSheeta11ymatchAllparsebyteOffsetsqsstylingsharedproto@@toStringTagECMAScript 2018css-in-jsFloat64Arraybootstrap csscomputed-typeslinuxmiddlewarefindLastcallboundES7someworkflowvalidateutilitiessetterpackageconnectmimetypesinternal slotstringifiercolorprefixBigUint64ArraybrowserarraysjsdiffschemepasswordansientriesstylesemitdomtoSortedcomparegroupwalkslotstoragegatewaytsslicetoArraycharacterswidthReactiveExtensionstypescriptlruHyBiinnamesconcurrencyeventEmittershimmergeinvariantresolvesearchinternaldeep-cloneunicodeECMAScript 2021class-validatormimeplugingetterUint16Arrayweakmapreadablestreamprettyworkertddtyped arrayquerypreprocessorextendtypanion-0real-timecallUint32ArrayString.prototype.matchAlldataviewboundtelephoneInt8Arrayelbquerystringsymbolskoreanfast-deep-copyRxguideveryMicrosoftloggerdefinestateexitmime-dbECMAScript 2017stabledatastructurecallbackmakeless csscompilercolumnbundlinglesscssconcatMapeslintplugincss lesstypeObject.fromEntriesappcorsidledataURLrapidprogressloggingtoobjectcloudwatchenumerablelimitedsymlinksbannerECMAScript 7stylesheetassertionserializercompile lessstreams2Object.assigncolumnsrestlistenersECMAScript 2022prototyperandomArrayBuffer#sliceAsyncIteratordatepropcall-boundhashObject.getPrototypeOfthrottlebyteenderstringifyqshigher-orderstreamsassertsdiffflatbrowserlistjsonpathfast-copyobjescapeflagsimpledbeslintconfignativesymbolbufferiamwindowsfszodeventsnopedebuggerajaxcoercibleelmreactcheckvalidationeslint-pluginviewlastcoretestingec2assertes2016error-handlingreplayredux-toolkitvalidwritableforEachserializecopymake dirtslibimportfixed-widthcore-jsoutputimmeri18nlimittouchhasOwnvestponyfillESnextStreamswatchercryptvpcstring$.extendcjklinewrapgetintrinsicrfc4122package managerinstallupshebangbatchform-validationdescriptorsJSON256superstructiterationlooklazyFunction.prototype.namewafregular expressionswfuninstallterminalES6promisehookstapmochaavaformwgetless.jsES2023asyncbundleres2017ES2020trimEndObject.keysmonorepomodulehandlersoptionES2017ES8buffersoptimizerclies-shim APItakesorteddeleteeventDispatcherstyleguidees7patchidmkdirsisConcatSpreadableroute53curlreact-hookstoStringTagregexpObjectruntimejestRegExp#flagsshrinkwrapstatusfast-deep-clonexhrshellarktypeurlstylermdirtraversecloudtrailstatelessreuselintpackage.jsonargumentkinesiskeys[[Prototype]]code pointsregular expressionsmetadataexpressionawesomesauceauthES2022intrinsicbyteLengthSymbol.toStringTagArrayBuffer.prototype.slicepromisesdefinePropertycachesyntaxerrorbreakpathagentdynamodbtypedarrayformsvisualproxykeyoncevalueprunesharedarraybufferlessserializationes2018east-asian-widthsigintqueueArray.prototype.includesArray.prototype.flatfromtypesESnegativevariables in csstestquoteregularfind-upfastifyjsrm -frdescriptorTypeScriptessequencewhatwgcloudformationimmutablestreamdeep-copyObservablesnodeYAMLmatchcolorscreatesigtermbddloadbalancingsymlinkexecpolyfillimportexportcollection.es6momentwhichsnscallbindchromepropertiesvaluesdeepsuperagentflagscommand-lineconsumeInt32ArrayrequestgenericsjQueryregexnegative zerocall-bindschemapostcss-pluginfetchttysetImmediateamazontypedextrawarningrestfulio-tsebssinatralinkfastisSymbolArray.prototype.containsfseventsfull-widthasciistdlibhookformgradients css3pushmulti-packagetrimreduceclonebluebirdsetPrototypeOfsafepreserve-symlinksObject.definePropertypersistentremovebrowserslistECMAScript 2016RxJSfunctionArray.prototype.findLastnodejsutilECMAScript 2019processpropertyargvrouterwatchFileshamcss nestingRFC-6455dom-testing-libraryinferencextermcontainsspecchineseconcatgdprWebSocketses6
@f1stnpm3/autem-expedita-fugiat@f1stnpm3/consequuntur-distinctio-provident@f1stnpm3/corrupti-explicabo-optio@f1stnpm3/cumque-labore-ullam@f1stnpm3/dicta-recusandae-vel@f1stnpm3/dolores-distinctio-enim@f1stnpm3/doloribus-architecto-architecto@f1stnpm3/eaque-accusantium-quis@f1stnpm3/enim-ducimus-maiores@f1stnpm3/eveniet-sapiente-aperiam@f1stnpm3/exercitationem-asperiores-inventore@f1stnpm3/impedit-consequuntur-aliquam@f1stnpm3/laboriosam-magni-consectetur@f1stnpm3/laborum-blanditiis-id@f1stnpm3/magni-enim-quaerat@f1stnpm3/maxime-temporibus-quisquam@f1stnpm3/nemo-quasi-commodi@f1stnpm3/nisi-vel-nisi@f1stnpm3/nobis-laboriosam-maiores@f1stnpm3/numquam-nemo-dicta@f1stnpm3/optio-nobis-dignissimos@f1stnpm3/perspiciatis-voluptatem-quis@f1stnpm3/quaerat-dolorum-natus@f1stnpm3/quo-vel-sed@f1stnpm3/repudiandae-quibusdam-voluptatibus@f1stnpm3/saepe-itaque-distinctio@f1stnpm3/sed-veritatis-culpa@f1stnpm3/sequi-quaerat-necessitatibus@f1stnpm3/sunt-ullam-minus@f1stnpm3/voluptate-ipsum-accusamus@f1stnpm3/voluptates-quis-doloremquehai-custom-buttonweb3-khai-1web3-khai-2
1.0.0
1 year ago