1.0.2 • Published 23 days ago

@libgitname/voluptate-reprehenderit-temporibus v1.0.2

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

@libgitname/voluptate-reprehenderit-temporibus Version Badge

github actions coverage License Downloads

npm badge

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

Example

var isMap = require('@libgitname/voluptate-reprehenderit-temporibus');
assert(!isMap(function () {}));
assert(!isMap(null));
assert(!isMap(function* () { yield 42; return Infinity; });
assert(!isMap(Symbol('foo')));
assert(!isMap(1n));
assert(!isMap(Object(1n)));

assert(!isMap(new Set()));
assert(!isMap(new WeakSet()));
assert(!isMap(new WeakMap()));

assert(isMap(new Map()));

class MyMap extends Map {}
assert(isMap(new MyMap()));

Tests

Simply clone the repo, npm install, and run npm test

Array.prototype.flatMapequalityvalidpackageslinkpipemovesymlinkSymbol.toStringTagefficientairbnbstyleeast-asian-widthcreatelookreduxcore-jswidthes2015SetfetchmochasidelesscsscolourECMAScript 7logJSONwaitreadfastclonedeep-copyenumerable256telephonecjksignalcliassertsnested csstypanion3dlrupathpicomatchschematimefastcopytyped arrayenvironmentmrucode pointsspringescapestyled-componentsregexpqueueinterruptsexpressionfigletframeworkeventszodMicrosoftUint32Arrayvariables in csslockfilemakeweakmappromisewhichless mixinscontainsapitoStringTaggroupcircularserializeUnderscoresharedsigintgradients css3batchquerystringES2017Pushes2017Array.prototype.filtertranspilecolorcryptdroppostcssTypeBoxformatchannell10nflatteneslintconfigparseduplexcloneReactiveExtensionsnpmbannermomentcurriedtoolkitbrowserslistprotoIteratorObservablepropbluebirdstylesieformArray.prototype.includesarraybuffertesttapedependenciesutilityuninstallpopmotionnamesparentsfast-deep-clonerm -frObject.fromEntriesnumberpersistentfseventsjasminecallbindreal-timetakemixinsObject.entriespatchbindoptimizerWeakSetconsumeECMAScript 6typesMapmapPromisedeterministichelperscurlestreehigher-ordergetOwnPropertyDescriptorutilObject.assignmulti-package[[Prototype]]preprocessorObject.getPrototypeOftrimStartstylingurlStreamsstructuredCloneextraes8phoneSymbolURLTypeScripteslint-pluginCSSargumentES2023japanesebufferflagreducepnpm9immutabletslibconnectmoduleasyncuser-streamsanimationdeepcopysettypescriptregularpositiveUint8ArrayES5EStesterxhrES7json-schema-validationbyteLengthshellRxcommanderbabel-corerequirefindString.prototype.trimpluginentrieslengthcopysanitizeformsencryptionES2015calltypeerrorclassnamesansiRxJSHyBipruneoncemiddlewaredotenvfantasy-landregular expressiondescriptorgetoptnodejsequalhooksES6jsdiffcorseslintpluginfindLastIndexcolumntypeofstringifierutilsargvperformantwatchparserletjsdomhandlersinferencesanitizationtacitinstallerObject.valuesobjjQueryinternalshamdom-testing-libraryECMAScript 2023speedspecECMAScript 2015autoprefixerlook-upkarmajwtjsonpathisConcatSpreadablegetPrototypeOfcompile lessCSSStyleDeclarationsignalsiteratorajvstatelessmime-dbxssbrowserutil.inspectidlelazyesmatchAllio-tsprotobufreadabledescriptorsboundpush@@toStringTagwebdefinePropertypreserve-symlinksReactiveXassertionhasOwnbuffersflagslimitcss variablees2016languageexit-codeawesomesaucepureupes7call-boundindicatornamettyInt32ArraysaferecursivebyteOffsetsomemobilebundlinges-abstractchineseprototypeconcata11yuuidsymlinksaccessibilityless cssvalidateWebSocketsInt8ArraycodesclientharmonyargsReflect.getPrototypeOfstringifyES8ECMAScript 3comparedescriptionnopeeventDispatcherwarningwordwraptostringtaglibphonenumberarktypecss-in-jsstableconcatMapclassescheckfast-deep-copyjoiObject.keysECMAScript 2019css lessrangeerrorsetPrototypeOftoSortedhttp
1.0.2

23 days ago

1.0.1

24 days ago

1.0.0

25 days ago