1.0.0 • Published 14 days ago

@landmineaknpm/incidunt-doloremque-dolor v1.0.0

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

@landmineaknpm/incidunt-doloremque-dolor Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

Example

var isWeakMap = require('@landmineaknpm/incidunt-doloremque-dolor');
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

dataviewRegExp#flagspersistenteventstoSortedvarlogpackagesArray.prototype.findLastIndexworkspace:*fixed-widthtesterargvmodulesBigUint64ArrayratelimitharmonyconsoleslotquerystringbatchECMAScript 6encryptiondescriptorsxhrJSONnodebyteLengthdeep-clonegenericsArray.prototype.includesdependency managerairbnbreact animationclientArray.prototype.filterArrayBuffer.prototype.sliceecmascriptpostcss-pluginES6invariantextensionintrinsicsanitizationjsonschemastylingomitvalidFloat64ArrayES2022findfseast-asian-widthpatchnegativepreserve-symlinkstestingfunctionalidlinksigintmkdirnegative zerozeroconcatMapduplexlengthdescriptoroperating-systemnumberpoint-freeURLSearchParamsreal-timetsserializertypesopensArray.prototype.flattencurlfantasy-landserializebrowserlistReflect.getPrototypeOfwatchFilegetOwnPropertyDescriptorfetchsomechromesafejsdomprivate datadatewatcherInt8ArrayjestmochaautoprefixerprotobufargparsequoteInt16ArrayprogressflagspositivejsxHyBiasciiES5form-validationnamesuser-streamsdirsortedappcjkpopmotionidlepicomatchvestfullwidthtapesyntaxerrorinferenceFunction.prototype.namecompilerUnderscorestreamwalkfilteranimationdebugsharedarraybufferArrayBuffer#slicepropertiesinternal slotpolyfillwebsiteCSSStyleDeclarationdeleteoptionfull-widthpurecallboundbootstrap lessmkdirscryptObject.assignless compilercss-in-jsterminalhandlerstyped arrayframertrimRightavaes2017bannerMicrosoftcharactermapES2021command-linebcryptcssmobilesymbolfast-copylesstypesafeeventEmitterECMAScript 2015trimMapexit-codewalkingeslinthasOwnECMAScript 2017serializationnodejsthrottleIteratorinstallinterruptsdataVieweditorlinuxmatchesArrayschemegroupmomentsigtermequalityTypeBoxsetPrototypeOfECMAScript 2020trimLeftgetterfp0valuesdropruntimedirectoryenvironmentObject.keysredactes-shimsinspectcolorrfc4122termunicodefileArray.prototype.containsremoveclassnamesshebangrecursiveopenerescapedeepObject.fromEntriesdotenvprunepnpm9windows.envWebSocketscolorscallstringweaksetawesomesaucemonorepofastcopyobjectgetspinnershelpersparsezodrm -rfbundlingcreaterequirecolumnsemojigroupByflatMapdeep-copyRxspinnerslicetapsorttouchentriesparserauthenticationformattingstyleponyfillstylesheetstyleguidesignalWebSocketsymlinkbabel-coreestreesuperstructInt32ArraytoArrayformatES2016typeofextrautilitiessharedUint16Arraycall-bindes7ietranspileres8hashArrayBufferRFC-6455argumentcurriedincludesgesturesObservables[[Prototype]]startermatchAllECMAScript 2018ttyYAMLmatchcall-boundclonereadablestreamjsonpathbufferssymbolsES2020chinesewatch__proto__modulejapanesejson-schema-validatorcollection.es6toolkittraversewriteReactiveExtensionsexestreams2graphqlurles5namereact-hookscss lessfastcloneregexchannelviewpush-0preprocessorprefixreades-shim APIfastifyopenassertion3deslintconfiges-abstractresolveObject.getPrototypeOfrmtoolsperformantfindLastIndexfast-clonebyteOffsetcomputed-typesRxJSloggerflathasformphonearraysguidxdgworkerstatelesshookformECMAScript 7koreanrateimmutablecircularfunctionutilitynopegradients cssminimallockfileTypeScript$.extendassignchaidependenciesutilcorscryptoless cssi18niterateio-tsdom-testing-libraryerrorbabelreducerutilsconcurrencyformsWeakSetkeyArray.prototype.flatMapgradients css3fullobjwebjoilintless.jsshrinkwrapparentsxssbootstrap cssenvsettingsurlstoStringTagdomsetteroutputmime-dbObservablepackage managernativepostcssfrommrutypeendercoreconcatreduxajaxprivatelookvariables in cssreadablemergeuuidObject.valuesaccessibilitypropertycolumnmiddlewarestatusemitcore-jsa11ycharactersmixinsyamlcollectionprotoArray.prototype.findLastesqueueMicrotaskrm -frstringifierprocessPromiserequestcode pointsvisualconsumergbsuperagentinternalbrowserslistlanguagelimitletmacosstructuredCloneindicatorlaunch6to5typedarraycompareuninstallAsyncIteratorlinewrapregularloggingrmdirfseventssidefastislook-upawaittypeerrortoobjectfinduphigher-orderenumerableefficientcolourloadingcss variableshamcopypathmimetypeslastES7connectwgetESnextdatastructureapollostreamsajvPushfolderWeakMappasswordcodescensorexpressionarraybufferbusyredux-toolkitstyled-componentsECMAScript 5asyncString.prototype.matchAllreact posebddassertframeworkbreaksyntaxl10nObject.entriestc39keysvariablesscheme-validationextendrapidirqhardlinkssetclass-validatormulti-packageonceboundprotocol-bufferstslibFloat32ArrayrandomeslintpluginlistenersasteverykarmaexecvalidatormakedragwidthSymbollimitedjsonECMAScript 2023executablelazywhichconfigsignalserror-handlingObject.definePropertycompile lessargumentspluginspawnES2017Symbol.toStringTagreusemetadataqueuepromiseeslint-pluginES3shelljsdiffstylesperformanceoptimistarktypeES8pyyamlgetPrototypeOfinstallerjson-schema-validationgdprtrimEndtextschemaelectronwatchingArray.prototype.flatassertses2015ES2023diffdescriptionflattenapiupspringlrutranspilearrayES2019cachejavascriptStyleSheetsetImmediateexpress
1.0.0

14 days ago