4.10.98 • Published 10 months ago

@taktikorg/inventore-sapiente v4.10.98

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@taktikorg/inventore-sapiente 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('@taktikorg/inventore-sapiente');
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

locationsidePushjavascriptjsonschemaECMAScript 3speed__proto__inputlibphonenumberArray.prototype.filters3react-hook-formelasticacheesfpECMAScript 2017nodegenericstslibroute_.extendartruntimefeedsinatraobjectvestxhrArray.prototype.flattenfast-copyTypeBoxstringscheme-validationweakmapESnextclitoolkitcall-bindelectronredactpostcsseslintformsframercloudsearchuuidSetinvariantschemeCSSimportl10nformbabel-corecolorES5textguidpolyfillfast-deep-copychannelbeanstalkbyteutilitylastjsxshimasyncec2rangeerrorawsexpressequalitybabelphonepicomatchconstprivate datacircularreact animationvariablesES2020extracommandermatchescallequalqueueutillistenersbuffersclassnameseverydescriptionairbnbshellconcatMapquerywafconfigurableinternal slotisConcatSpreadablebyteOffsetdataviewschemadeep-copygetterappnodejsassertionaccessortyped arrayconsumeUnderscorelockfiletoStringTagFloat32ArrayespreeenumerablejsdomvaluebyteLengthshebangUint32ArrayfetchObject.fromEntriesArrayBufferextenddynamodbpropertieswaitrapidspawnimportexportArray.prototype.flatMapmatchAlllengthsyntaxerrorcloudformationdom-testing-libraryownIteratorbinhelperfnmatchclasses-0formattinggroupBywalkdropworkflowtc39forkcsswidthvarsfindfastcloneomitmulti-packagemobilesyntaxrgbArrayBuffer#slicewarningsuperstructsqsi18nrm -rfcompilerfunctionsmockinggetautoprefixerprotofinduphardlinksRegExp#flagsArray.prototype.flatstoragegatewayFunction.prototype.namerandomsorttranspilemanagerglobjsdiffnamees6PromisetoArrayassertsviewjsamazonAsyncIteratorhasOwnecmascriptvalidatefoldercreateworkspace:*loadingcopysymbolsposeBigInt64Arraydiffes5concatlruimmerrm -frdotenvtddserverMicrosofttakeincludesiteratorparenteslintconfig.enves2017manipulationTypeScriptjestshrinkwrapflagsettrimRightemrpluginWebSocketssetPrototypeOfrobusthigher-orderidentifiersArray.prototype.containsframeworksesprunenpmignoreparentsweaksetexeces2016streamsregular expressionmochaeast-asian-widthdeepcopywhatwgasciiprogressmodulesavagesturesvalidatorxmlcallboundHyBiistanbulmkdirpperformantatomstarterdebugasteffect-tstypescriptmkdirchromiumhashshareddefineRx[[Prototype]]react-hookswriteformatfastifycodesES2023cloudtrailsimpledbcollection.es6installsetImmediateworkermockasteriskssettingscloudfrontcryptoonceWebSocketsource mapievisualawesomesaucefront-endassertUint8ClampedArrayrfc4122Object.valuesnumberacornprotobufhandlerunicodesnssearchapichromeObject.entriestapeutilshas-ownregexSymbol.toStringTagstylingtsSymbolservicecore-jsObservablestransportagentgraphqlrmdirgetintrinsicchinesemkdirsmruObject.iscachesymbolcallbindJSON-Schemainspectreversedfunction.lengthfullwgetes2015eslintpluginrmJSONroute53propArray.prototype.findLastIndexstyled-componentsWeakMapcall-boundsameValueZeroreact-testing-librarylocalStyleSheetclassnamepackage managerdependency managerprefixdragInt8Arrayglobal6to5springback-endbddidlewhichvaluessubprocesswritableeventEmitterclientstylesString.prototype.matchAlldeeptrimStartinreactEStoobjectmake dirsomeutilitiespositivelook-upECMAScript 2019deterministicloggerObject.definePropertytapquerystringreduceES3superagentfigletpackage.jsonwalkingredux-toolkitconfigstringifierendercharactertelephonehttpsURLfind-uprestarraysdeletespinnersflatMapdirectorypreprocessorpathcommandpushoptimistefficientebsfindLastIndextoReversedfsgetPrototypeOfMapspecpureiamtypedsettercolorspinomatcha11yignoreURLSearchParamsstyleguidehooksqsgetOwnPropertyDescriptormodulecloudwatchfull-widthObservableio-tsArrayes-abstractsortedparsestablecoverageRFC-6455fast-clonetesterloadbalancingtypanionassignarktypepropertyslicepackagescjkfixed-widthES2015$.extendcomparecomputed-typesescapeprotocol-buffersreadablelintremoveconsolesymlinksenvironmentstypedarraysECMAScript 2016ReactiveExtensionscontainsintrinsiczodgdprreversedescriptorsreact posenegativecommand-line.gitignorebundlingiteratestringifytypeerrortoSortedyamlcoercibleES2019immutableform-validationbundlerbusyCSSStyleDeclarationECMAScript 2015mapreducehasOwnPropertyhookformInt16ArrayES2016json-schemaes-shimsArrayBuffer.prototype.slicebannerflagsES7es8binaryRxJSclass-validatorxtermvalidcallbackhttptrimEndprocess@@toStringTagrestfulprototypeStreamobjECMAScript 2021pyyamlserializationdescriptorbrowserlisthasECMAScript 2020trimjson-schema-validationarraybufferrecursivefpscloneRegExp.prototype.flagsrssregexpramdafiledomnpmminimalmonorepoes7helperscoreregular expressionsfullwidtharrayES2022mapinternaltypeofponyfillquotepopmotionreducervpcregular-expressionpatchECMAScript 6ECMAScript 2018Array.prototype.includeshtmlfastcopykoreangetoptredirectfantasy-landoutputECMAScript 5functionalmaketoolstacitharmonybrowserslistswfES6css-in-jslanguagepoint-freereusepromisemetadataqueueMicrotaskfast-deep-clonedataViewObject.assignfilterreduxpnpm9installertestingsafecheckcurlroutingTypedArrayjshintslotES2017findLasttypeinstrumentationserializerfunctionexecfileeslint-pluginanimationes2018ECMAScript 2023idyupbrowserdeepclonepackageupInt32ArrayresolveoptimizerargsloggingUint8ArrayString.prototype.trimterminalindicatorrequestArray.prototype.findLastsharedarraybufferzeroECMAScript 7elbBigUint64ArrayprettyemitprivatemergewebzxthreedatarequireansiECMAScript 2022dayjsUint16ArrayexpressionkeyaccessibilityenvglobalsReactiveX
4.10.98

10 months ago

4.10.97

10 months ago

4.10.96

10 months ago

4.10.95

10 months ago

4.10.94

10 months ago

4.10.93

10 months ago

4.10.92

10 months ago

4.10.91

10 months ago

4.10.90

11 months ago

4.10.89

11 months ago

4.10.88

11 months ago

4.10.87

11 months ago

4.10.86

11 months ago

4.10.85

11 months ago

4.9.85

11 months ago

4.9.84

11 months ago

4.9.83

11 months ago

4.9.82

11 months ago

4.9.81

11 months ago

4.9.80

11 months ago

4.9.79

11 months ago

4.9.78

11 months ago

4.9.77

11 months ago

4.9.76

11 months ago

4.9.75

11 months ago

4.9.74

11 months ago

4.9.73

11 months ago

4.9.72

11 months ago

4.9.71

11 months ago

4.9.70

11 months ago

4.9.69

11 months ago

4.8.69

11 months ago

4.8.68

11 months ago

4.8.67

11 months ago

4.8.66

11 months ago

4.8.65

11 months ago

4.8.64

11 months ago

4.8.63

11 months ago

4.8.62

12 months ago

4.8.61

12 months ago

4.8.60

12 months ago

4.8.59

12 months ago

4.8.58

12 months ago

4.8.57

12 months ago

4.7.57

12 months ago

4.7.56

12 months ago

4.6.56

12 months ago

4.6.55

12 months ago

3.6.55

12 months ago

3.6.54

12 months ago

3.5.54

12 months ago

3.4.54

12 months ago

3.4.53

12 months ago

3.4.52

12 months ago

3.4.51

12 months ago

3.4.50

12 months ago

3.4.49

12 months ago

3.4.48

12 months ago

3.4.47

1 year ago

3.3.47

1 year ago

3.3.46

1 year ago

3.3.45

1 year ago

3.3.44

1 year ago

3.2.44

1 year ago

3.2.43

1 year ago

3.2.42

1 year ago

3.2.41

1 year ago

3.2.40

1 year ago

3.2.39

1 year ago

3.2.38

1 year ago

3.2.37

1 year ago

3.2.36

1 year ago

3.2.35

1 year ago

3.2.34

1 year ago

3.2.33

1 year ago

3.2.32

1 year ago

3.2.31

1 year ago

3.2.30

1 year ago

3.2.29

1 year ago

3.2.28

1 year ago

3.2.27

1 year ago

3.2.26

1 year ago

3.2.25

1 year ago

3.2.24

1 year ago

3.2.23

1 year ago

3.2.22

1 year ago

3.2.21

1 year ago

3.2.20

1 year ago

3.2.19

1 year ago

3.2.18

1 year ago

3.2.17

1 year ago

3.2.16

1 year ago

3.2.15

1 year ago

3.2.14

1 year ago

3.1.14

1 year ago

3.1.13

1 year ago

3.1.12

1 year ago

3.1.11

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

1.1.6

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago