4.7.114 • Published 12 months ago

@diotoborg/numquam-illum v4.7.114

Weekly downloads
-
License
MIT
Repository
github
Last release
12 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

12 months ago

4.7.114

12 months ago

4.7.112

12 months ago

4.7.111

12 months ago

4.7.110

12 months ago

4.7.109

12 months ago

4.7.108

1 year ago

4.7.107

1 year ago

4.7.106

1 year ago

4.7.105

1 year ago

4.7.104

1 year ago

4.6.104

1 year ago

4.6.103

1 year ago

4.6.102

1 year ago

4.6.101

1 year ago

4.6.100

1 year ago

4.6.99

1 year ago

4.6.98

1 year ago

4.6.97

1 year ago

4.6.96

1 year ago

4.6.95

1 year ago

4.6.94

1 year ago

4.6.93

1 year ago

4.6.92

1 year ago

4.6.91

1 year ago

4.6.90

1 year ago

4.6.89

1 year ago

4.6.88

1 year ago

4.6.87

1 year ago

4.6.86

1 year ago

4.6.85

1 year ago

4.5.85

1 year ago

4.5.84

1 year ago

4.5.83

1 year ago

4.5.82

1 year ago

4.5.81

1 year ago

4.5.80

1 year ago

4.5.79

1 year ago

4.5.78

1 year ago

4.5.77

1 year ago

4.5.76

1 year ago

4.5.75

1 year ago

4.4.75

1 year ago

4.4.74

1 year ago

4.4.73

1 year ago

4.4.72

1 year ago

4.4.71

1 year ago

4.4.70

1 year ago

4.4.69

1 year ago

4.4.68

1 year ago

4.4.67

1 year ago

4.4.66

1 year ago

4.3.66

1 year ago

4.3.65

1 year ago

4.3.64

1 year ago

4.3.63

1 year ago

4.3.62

1 year ago

4.3.61

1 year ago

4.3.60

1 year ago

4.3.59

1 year ago

4.3.58

1 year ago

4.3.57

1 year ago

4.3.56

1 year ago

4.3.55

1 year ago

3.3.55

1 year ago

3.3.54

1 year ago

3.3.53

1 year 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