1.0.0 • Published 22 days ago

@teamteanpm2024/sed-consequuntur-minima v1.0.0

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

@teamteanpm2024/sed-consequuntur-minima 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('@teamteanpm2024/sed-consequuntur-minima');
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

waites80expressionquotecore-jssetPrototypeOfnested cssObjectiteratelookinspectdira11yURLSearchParamsstyleguideECMAScript 2022passwordarraysirqhardlinksclass-validatorapitypesafetakesortposebannersomeasynccachetypanionrecursivelockfilevalidationomitsignalcomputed-typescompilernpmflagsymlinkscheme-validationCSSStyleDeclarationwatchingelectronpackage.jsonES2016typescriptguidconstrm -rfvariablespropertyfast-deep-copymaptimeeslintconfigponyfilles6testcryptomkdirpcorstypedObject.entriesconcurrencyajvtslibdeletekeysmixinswarningweakmapperformanceemojiprocessextendsiginttypestapvariables in cssgraphqlhelpersArray.prototype.flattenformathigher-orderbyteLengthECMAScript 2021colorlesscommandcensordragtouchmobiledefinestdlibvalidatorfunctionsreduceio-tsrobustRFC-6455rmESqueueMicrotaskURLenvvalueidleanimationaccessibilityworkspace:*call-bindgroupstreams2internal slotmovesuperagentprototypeArray.prototype.includesthreeRegExp#flagsfromInt16Arraypreprocessoruser-streamsmakelibphonenumberwhichlistenersrapidpositivelinewrapshamcode pointsstringifyjwtstructuredClonedatainputprefixdebugcircularbindauthenticationiterationYAMLless cssReactiveXloggingoutputtaskdirectory6to5ratelimitmoduletypefsmergeworkerreact animationredux-toolkitenderCSSES3yupObject.isrmdirfetchArray.prototype.containsreduxtoolsmacosspecansireact-hooksrgbsignalsmodulesreact posehttpimportgradients cssbyteOffsetRxJSlrudebuggerjavascripteslintplugincharacterFunction.prototype.namedataviewStyleSheetMapdataViewargssetString.prototype.trimawaitbluebirdECMAScript 2015windowsjscall-boundcolorslimitedHyBicrypt.envreadablefunctionalnameratesettingsgenericsoptimizerECMAScript 2019less mixinsruntimepropertiescompile lessbusysharedarraybuffernumbermetadataES8chineseutilitiesReactiveExtensionsreadablestreamajaxgesturesfilterloggerjsonschemashimObject.definePropertystreamswrapES7hashrandommkdirsrequireserializerreducerutil.inspectes2016nodeArray.prototype.filtersearchsymlinksES2015UnderscoreFloat32ArrayvarbatchconfigloadingES2022errorwatchpushbabel-coreinvariantdayjsprivatewritepathgetterfindbrowserinternaltelephonebabelarktypeRxes2018lengthtostringtagdefinePropertyformattingWebSocketcodesdotenvTypeBoxisConcatSpreadablearraycoreArray.prototype.flaturlvalidnamestypeerrorloges7equalitybootstrap lessgetuuideventDispatchersequenceslicewidthdatefast-deep-cloneopenthroatextensiones-shimsstatelessnopeframeworkfullpolyfillenumerabledeterministicgetoptvestJSON-SchemasharedzerohasOwnarraybufferconsoleArrayBuffer#slicewordwrapphonefull-widthcolumnObject.getPrototypeOfsetImmediatemochaprettyefficientfindLastIndexassertionclisymbolshooksrangeerrorerror-handlingcloneECMAScript 2016Int8Arrayschemejson-schema-validatordeepwhatwgformsStreamstrimRightES5flattenReflect.getPrototypeOfECMAScript 2018packagestrimLeftbootstrap cssObject.fromEntriesESnextfast-copyfseventsauthprotoautoprefixerawesomesauceterminaldescriptortc39PromisePushextrajQueryregexserializelazyjestoptionjson-schema-validationexpresspromisefixed-widthjson-schemaprivate datacallbindletwalkhasjsonpathSettoobjectclientargumentES2019framer__proto__bddBigInt64ArrayclassnameschaiclassesnodejskarmabreakredactObservablesSymbol.toStringTages2015getintrinsicutilArray.prototype.findLastIndexes-shim APIfast-cloneslotttyfindupfindLastgradients css3compareeast-asian-widthsetterspinnerhandlersdeepcloneeslint-plugintranspileregular expression
1.0.0

22 days ago