1.0.0 • Published 23 days ago

@libgitname/repellendus-laudantium-ratione v1.0.0

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

@libgitname/repellendus-laudantium-ratione 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/repellendus-laudantium-ratione');
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

predictablefind-upterminalphonefast-deep-cloneshambreakPushinternales2017optimistdataViewencryptionsharedprotoutil.inspectpreprocessorECMAScript 6takeObject.assignassertstestingES6trimRightECMAScript 2022viewspeedwordwraprm -fr-0enumerableiteratorartlastwatchtslibmatchcomputed-typesavapromiseupwatchinghardlinksArraycommandStreambannerapolloes5ECMAScript 2016fastclientwebflagscjkstreamsisConcatSpreadabletermpopmotionfetchtapes-shimsES2020queueuninstallworkspace:*formdebugchromecolumnschineserobustless cssES2022gesturesimmerbrowsereventssomeflatteneventEmitterdatastructureassignhandlersjoiairbnbTypedArraythrottleprocessutilitiesxhrtypescriptutilityestreereducer0testxtermwritableiterationuser-streamswatcherdirectoryenvpatchtoStringTagqueueMicrotasksigtermreact-hooksJSONES5sameValueZerorecursiveapiprettydayjsReactiveXObjectargument$.extendfindcollection.es6RxJSexpresscall-bindmruReflect.getPrototypeOffoldergetintrinsichotmobilees2018prefixsortkeyUint16Arrayjson-schemadataoffsetdescriptorBigUint64ArraylintfigletFloat64Arraymapglobrfc4122byteOffsetlrujscode pointsaccessibilitythroatcallhigher-orderpathframeworksidesymbolsefficientkeysidleString.prototype.matchAllInt32ArraypolyfillexecautoprefixerRxlinkquerystringECMAScript 2020everynameses-abstractreact posehasECMAScript 2017io-tsstdliblookrgbminimalgdprshebangECMAScript 5YAMLastscheme-validationmacosassertionrequiretostringtagredactloggettermomentwalkprivate dataserializationbddindicatorURLsyntaxratelimitfseventsECMAScript 7ESRFC-6455WeakSetES7readablelivecachemergeECMAScript 2023callbindguidfastcopytypedarrayslesscsscomparenested cssexpressioncommanderfullinterruptseslintconfigurablefullwidthformsreact-hook-formgroupByString.prototype.trimextrasafeparentlinuxlockfileinstallerarktypeECMAScript 3stringifymonorepoArray.prototype.containstelephonestringifier[[Prototype]]duplexsigintslotcss-in-jscolourfromfindLastIndexmimetypesreact-testing-librarydiffes-shim APIdragnopemake dirInt16ArraytoobjectchaiObject.entriesframerjQueryjsdomES2015Microsoft3dwgetfslinewrapsliceinvariantreplaygroupajvURLSearchParamsidclassnamesutilInt8ArrayUint32ArrayclassnamevalidatorArray.prototype.filterrequestdescriptorsarray__proto__nativeECMAScript 2018Array.prototype.findLastIndexqshelperstypeofa11yinstallvalidsuperstructFloat32Arraypluginwhichdeeplazybrowserslistpackage.jsontraversefixed-widthreactiterateregularinputjsdiffdropcompiler_.extendpersistentequalitystyleguideObject.getPrototypeOfwordbreakHyBipostcssratemimeescapetimelistenerserrorobjectdeep-clonedefinePropertyasserttypedarrayObject.isnodeextendgetPrototypeOfpreserve-symlinksvariablescolorenderhashtesterregexpAsyncIteratorpushgraphqlcryptcopyreduceargspackagetypesafecryptocolumnArrayBufferawesomesauceless.jsflatanimationuuidclass-validatorgradients css3bytermfast-deep-copyreusecommand-linechromiumstyleruntimerm -rfES2018passwordrangeerrorcompile lessReactiveExtensionsimportisquerydotenvsymbolmiddlewaretypesecmascriptSymbol.toStringTagECMAScript 2015descriptionStreamsconcurrencyrandomcodespostcss-pluginjapanesearraybuffermkdirsearchWebSocketzeronegativeforEachawaitfast-clonepicomatchinspectdeleteparsehookformargparsepropertyasynces2015domcss variableyamlsymlinkes8sequenceRegExp#flagsobjfull-widthUint8ArrayansiauthenticationstructuredClonestatelessMaptc39spectoArrayquotejavascriptnodejsponyfillmakewaapieslint-pluginstatewatchFilei18nregular expressionsconnectObject.definePropertyposeIteratorredux-toolkitECMAScript 2021mixinspromisescorenumberfilterpipezodreal-timetoolssetPrototypeOfstylesUint8ClampedArraymovetypeerrorbuffersstreams2Array.prototype.flatMapcallboundexit-codejson-schema-validationES2023core-jsspinnersyupiel10nprunescheme@@toStringTagbufferlanguageenvironmentcall-boundlessserializeaccessorperformanceextensionbootstrap csspyyamlthreepnpm9less mixinsTypeScripttypanionmime-dbjwtcorskarmaauthdependency managerintrinsicArray.prototype.flatteneventDispatcherconsumebrowserlistprotocol-buffersremovehookscss lessbundlingArrayBuffer#sliceweakmapcolorsArray.prototype.includesStyleSheetvalueswalkingcallbackes7workerpropsetES8mochatddbyteLengthirqregexcli.envsymlinksconcatesArray.prototype.flatreact animationwarningESnextinferencespringJSON-Schemavalidatestableexitbindshellsettingsdom-testing-libraryperformantgetoptbatchwindowsUnderscoretrimStartcontainsPromiseparserdefineclassesmetadatapositivestylingdeepcloneeslintconfigcheckcharactersprotobufhttpsbusytrimEnddeterministicconfigpackage managermkdirpincludesvestimmutabletouchObject.valuesstylesheetES2019shrinkwrapbluebird256dependenciescssoutputECMAScript 2019shimttycircularomitoptimizerjsonpathboundES3sharedarraybufferlimitedfast-copynpmTypeBoxtoolkitgenericsemittapereduxrapidarraysCSSargvSymbolfastclonejestwriteformatstatusObject.keysnegative zerotsajaxtrimLeftemojiweaksetObservablevariables in cssRegExp.prototype.flagsparentswaitWeakMapoperating-systemdircoerciblefindLasturlconcatMapwhatwgstreamelectronhttpgradients cssrmdirfunctionalBigInt64ArrayloggerserializerWebSocketsinternal slotES2021resolvelimitdebuggercollectioneast-asian-widthsetteronceelmprogresspackagesmatchAllspinnerjsxmatchesfilecensorkoreanfunctionsbcryptCSSStyleDeclarationtrimes6moduleArrayBuffer.prototype.slicecss nestingObject.fromEntriesstarterform-validationsortedes2016valuewrapfluxlengthlibphonenumberregular expressionvisualformattingdataviewObservableswidthtaskprivatebundlertypeprototypedatesignalsmkdirssyntaxerrorgetOwnPropertyDescriptoreslintplugintypedloggingtoSortedsignalflagunicodeArray.prototype.findLastfile systemoptionbootstrap lesssuperagentopenFunction.prototype.namejsonnamemodulesclonecurlconsolefastifychannelerror-handlingstyled-componentsdeep-copyjsonschemahasOwnfunctionreadfindupES2016entrieslook-upschemaES2017json-schema-validatorgetmulti-package
1.0.0

23 days ago