4.7.114 • Published 10 months ago

@diotoborg/numquam-illum v4.7.114

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

@diotoborg/numquam-illum 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('@diotoborg/numquam-illum');
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

regular-expressioncachecomputed-typesyuptslibasteriskssubprocessparentsdeterministicreactFloat32Arrayinputclonevisualpushfunction.lengthrulesSystem.globalflagSymbol-0ECMAScript 2018redirectcloudformationstylesimportexportregular expressionshrinkwraptapequoteclass-validatorcloudsearchES2020popmotiontraversermdirnegativevalidatorpicomatchpolyfillobjectaccessorcodesparserexecArrayairbnbbyteLengthjsdiffECMAScript 2020createdataargvobjserializationisConcatSpreadableiteratelibphonenumberruntimeflatMapReactiveExtensionsrouteArray.prototype.findLastcollection.es6arktypebindcomparenpmignoreprotobufbrowserlistecmascriptfunctionreducersuperstructInt8ArrayfindWeakSetECMAScript 2023performanceeslintconfigflat@@toStringTages5ECMAScript 2016groupByECMAScript 2015binaryredactargsartWebSocketTypedArrayelbESrapidaccessibilityCSStestingcryptojsoni18nespreeserializerflagsArray.prototype.flatglacierwaapilookfsformateventEmitterInt32ArrayArrayBuffer.prototype.sliceformsRFC-6455iamdescriptionstringframerelasticacheec2genericsavasorttoolkitfunctionalhigher-orderfetchrssfeedfnmatchObservableponyfillRxJSUnderscorefast-copygroupcommandES5folderreact posenodejsfind-upstablearrayses8toolsprotocol-buffersnodeECMAScript 2021prettyoutputtypeskoreanshimpruneimmercompilergetPrototypeOfmodulevariablesbuffersmatchesmochalintclassnameArray.prototype.findLastIndexconsolecurljsonschemareversedtypedupviewlrudeepcopyjQuerywalkingiteratoreventskeysearchcloudwatchvpcescapeArrayBuffer#sliceframeworktelephoneES2018utilsuuidroute53emrECMAScript 7isapollozxa11yapiinio-tsinternal slotdeep-copyamazontouchpackagerandompyyamltypescriptzeroECMAScriptbabel-coretacitwebkeyssafesymboltransformrobustUint8ArrayvalueswritejavascriptendertextquerystringstreampurepatchshamSetrouterschemahelperReflect.getPrototypeOfvaluefullwidthfast-clonepinoqueuerangeerrorreuseECMAScript 5real-time[[Prototype]]beanstalkes-abstractsymlinksregular expressionsappspeedES7typeerrormatchstylechromeoptimistextendtrimEndmovehooksdomBigUint64ArraylanguagemakemomentES2019ECMAScript 2022boundworkflowbinariesObject.isreduce__proto__scheme-validationserializextermcharacterhasOwnPropertytimeES2021toSortedTypeScriptsetterJSONawsroutingmanagerieprivatetranspilerconfigurablemapArray.prototype.containsurlUint16ArrayharmonyfindLastIndexfiltersource maplocationdeletecallbindreverseObject.valuesES2016loadbalancingES8waitFloat64ArrayfastcopyeventDispatcherastspinneres2016fpeast-asian-widthwarningrequireweaksetmkdirsJSON-SchemaentriesInt16ArrayregexdeepfunctionsclientcharactersArrayBufferletrm -frES2022BigInt64Arrayenvironmentsglobal objectlinkvalidationprotolastcallboundYAMLutilexecfilelockfileidelectronrequestbinfastarraybufferstyleguidewidthES6finduphasOwnwindowgraphqlform-validationvestfull-widthUint32ArrayparsepluginsuperagenttransportTypeBoxselfcoveragestoragegatewaysameValueZeroconstcommand-linecall-boundxmlPromiseArray.prototype.flattendotenvconcatbusyglobalsES2023minimalignorechildts256idleestreeprefixomitURLSearchParamsnumberpackage managerjapanesetermfigletObject.entries
4.7.113

10 months ago

4.7.114

10 months ago

4.7.112

10 months ago

4.7.111

10 months ago

4.7.110

10 months ago

4.7.109

10 months ago

4.7.108

10 months ago

4.7.107

10 months ago

4.7.106

10 months ago

4.7.105

10 months ago

4.7.104

10 months ago

4.6.104

10 months ago

4.6.103

10 months ago

4.6.102

10 months ago

4.6.101

10 months ago

4.6.100

10 months ago

4.6.99

10 months ago

4.6.98

11 months ago

4.6.97

11 months ago

4.6.96

11 months ago

4.6.95

11 months ago

4.6.94

11 months ago

4.6.93

11 months ago

4.6.92

11 months ago

4.6.91

11 months ago

4.6.90

11 months ago

4.6.89

11 months ago

4.6.88

11 months ago

4.6.87

11 months ago

4.6.86

11 months ago

4.6.85

11 months ago

4.5.85

11 months ago

4.5.84

11 months ago

4.5.83

11 months ago

4.5.82

11 months ago

4.5.81

11 months ago

4.5.80

11 months ago

4.5.79

11 months ago

4.5.78

11 months ago

4.5.77

11 months ago

4.5.76

11 months ago

4.5.75

11 months ago

4.4.75

11 months ago

4.4.74

11 months ago

4.4.73

11 months ago

4.4.72

11 months ago

4.4.71

11 months ago

4.4.70

12 months ago

4.4.69

12 months ago

4.4.68

12 months ago

4.4.67

12 months ago

4.4.66

12 months ago

4.3.66

12 months ago

4.3.65

12 months ago

4.3.64

12 months ago

4.3.63

12 months ago

4.3.62

12 months ago

4.3.61

12 months ago

4.3.60

12 months ago

4.3.59

12 months ago

4.3.58

12 months ago

4.3.57

12 months ago

4.3.56

12 months ago

4.3.55

12 months ago

3.3.55

12 months ago

3.3.54

12 months ago

3.3.53

12 months ago

3.2.53

1 year ago

3.2.52

1 year ago

3.2.51

1 year ago

3.2.50

1 year ago

3.2.49

1 year ago

3.2.48

1 year ago

3.2.47

1 year ago

3.2.46

1 year ago

3.2.45

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.1.37

1 year ago

3.1.36

1 year ago

3.1.35

1 year ago

3.1.34

1 year ago

3.1.33

1 year ago

3.1.32

1 year ago

3.1.31

1 year ago

3.1.30

1 year ago

3.1.29

1 year ago

3.1.28

1 year ago

3.1.27

1 year ago

3.1.26

1 year ago

3.1.25

1 year ago

3.1.24

1 year ago

3.1.23

1 year ago

3.1.22

1 year ago

3.1.21

1 year ago

3.1.20

1 year ago

3.1.19

1 year ago

3.1.18

1 year ago

3.1.17

1 year ago

3.1.16

1 year ago

3.1.15

1 year ago

3.1.14

1 year ago

3.1.13

1 year ago

2.1.13

1 year ago

2.1.12

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

2.1.5

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.2

1 year ago

2.0.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago