5.14.125 • Published 12 months ago

@womorg/aspernatur-quisquam-ipsam v5.14.125

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

@womorg/aspernatur-quisquam-ipsam Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS DataView? This module works cross-realm/iframe, does not depend on instanceof or mutable properties, and despite ES6 Symbol.toStringTag.

Example

var isDataView = require('@womorg/aspernatur-quisquam-ipsam');
var assert = require('assert');

assert.equal(false, isDataView(undefined));
assert.equal(false, isDataView(null));
assert.equal(false, isDataView(false));
assert.equal(false, isDataView(true));
assert.equal(false, isDataView([]));
assert.equal(false, isDataView({}));
assert.equal(false, isDataView(/a/g));
assert.equal(false, isDataView(new RegExp('a', 'g')));
assert.equal(false, isDataView(new Date()));
assert.equal(false, isDataView(42));
assert.equal(false, isDataView(NaN));
assert.equal(false, isDataView(Infinity));
assert.equal(false, isDataView(new Number(42)));
assert.equal(false, isDataView('foo'));
assert.equal(false, isDataView(Object('foo')));
assert.equal(false, isDataView(function () {}));
assert.equal(false, isDataView(function* () {}));
assert.equal(false, isDataView(x => x * x));
assert.equal(false, isDataView([]));
assert.equal(false, isDataView(new Int8Array()));
assert.equal(false, isDataView(new Uint8Array()));
assert.equal(false, isDataView(new Uint8ClampedArray()));
assert.equal(false, isDataView(new Int16Array()));
assert.equal(false, isDataView(new Uint16Array()));
assert.equal(false, isDataView(new Int32Array()));
assert.equal(false, isDataView(new Uint32Array()));
assert.equal(false, isDataView(new Float32Array()));
assert.equal(false, isDataView(new Float64Array()));
assert.equal(false, isDataView(new BigInt64Array()));
assert.equal(false, isDataView(new BigUint64Array()));

assert.ok(isDataView(new DataView(new ArrayBuffer(0))));

Tests

Simply clone the repo, npm install, and run npm test

traverseerror-handlingclassesJSONsearchnodemiddlewaresharedarraybuffernative[[Prototype]]Pushinternal slotcolumnswordbreakcollection.es6ecmascriptWebSocketloggingjQueryvalidpromisemixinsscheme-validations3columniteratorString.prototype.trimentrieslimitextensionvalidateexpressdeepstoragegatewaylistenersemrES5interruptsreadablestreambyteLengthfixed-widthloggerinferenceSymbol.toStringTagwebtestingdirectoryArrayvariablesintrinsictoolkitcompilerclassnamessimpledbcss lessweaksetgenericsserializationimportexportlinuxcontainssequenceimportES2018typesworkflowinnamesfastES2016airbnbphoneparseyamlawaitmkdirsgroupBywhichstyleguidedebuggercryptcharactersES8momentkinesisinstalldependency managerstringifiernpmjoiJSON-SchemadescriptortsStreamsargumentoptimistminimalECMAScript 2022performanceupauthenticationtimecommand-lineredux-toolkitfind-upserializerbootstrap lessdynamodbFloat64ArraystreamendpointArray.prototype.containsgettertrimEnddropcallbackkeysjapanesediffbatchTypedArraypositiveinputIteratorbufferelbflattenfulllazyboundyupvaluefullwidthArray.prototype.findLastIndexES2023bootstrap csspicomatchfromiterationString.prototype.matchAllrapidemojitaphookformtypesafespeedworkspace:*callboundrgbjscss-in-jsmodulesyntaxutilStreamjavascriptWebSocketsschematc39reuseflatbusyi18ntrimLeftviewjsdiff256functionslanguagecompareFloat32ArrayhttpbluebirddomnamefastcloneInt16Arrayregular expressionmruassertpluginbannerstyletoArraywatchFilepyyamlcollectionspinnersglobwalkinges7matchAllarraysexecstreamsschemeURLSearchParamsexitjesteslint-pluginsymlinkscorsroutingECMAScript 2021mimeproxybytecurlmacoscommanderjsdomlimitedasciihttpsregular expressionsasyncbreaksetformatshamopenfluxartrmresolvecorefunctionalArray.prototype.flatMapfindLastIndexUint32ArraynopewatcherqueueMicrotaskefficientreact-testing-librarybrowserlistqueuees2017-0fastifyreactstategdprbuffersES2019Object.getPrototypeOflruenumerableRxsortedtelephoneES2015sometrimStartbddajvgetoptgradients css3ansiglacierenvironmentshrinkwrapshimestakeregularUint8ClampedArrayeventEmittervestelmpipetoobjecthandlersregexpcloudformationpersistentObject.fromEntriestypedarraysloadbalancingidproproute53getPrototypeOflivedeep-copychinesevaluesdirlengthautoprefixerbrowserslistparsingenvamazonWeakSetweakmapes2016concatebsObservableTypeScriptRegExp.prototype.flags$.extendObject.keyseverytaskcryptotoSortedPromisesinatraprefixfastcopyauthpathtypeofrmdirqsinvariantstatelesscloudwatches2018wordwrapaccessibilitysideobjhassetterArray.prototype.flatlintawesomesauceBigUint64ArrayECMAScript 2018assertsstarterxhrchannelArray.prototype.includesESnextless compilercharactercliStyleSheetflagdataViewswfeventsES2022runtimecolorswrapwarninglookObject.valuesES2021syntaxerrorgroupmergestatuscoercibletostringtagbundlingeventDispatcherBigInt64ArrayReactiveXjsonmakenodejselasticacheoptimizerECMAScript 2017findreal-timesortieReflect.getPrototypeOfmake dirextrapolyfillrateconcatMapfileECMAScript 5mochaduplexdeepcopyutilitiestypeCSSfseventsdefinePropertylook-upterminallinewrapassignflagstyped arrayiterateInt8Arraysafe.envmetadataexpressionmkdirArray.prototype.findLastObject.definePropertyequalityless csshardlinksformattingpostcss-plugintypescriptcss variablecolorES6patchfigletvpccallbindisparentsstylesheetArray.prototype.flattencirculartrimRightchromefolderbcryptirqreducepruneoutputhooksrandomArrayBuffertoStringTagoffsetes8fast-deep-copyreadablesesperformantreplayconfigURLqueryowneslintSetchaiprivatekeyArrayBuffer#sliceformarraybufferRxJSrfc4122packageomitdeterministicdescriptorscloudtrailvalidationrobustpasswordObjectshebangguidjwtreduceres6assertionapiObject.isutilitycommandenderspinnerjasminesymbolhelpersArray.prototype.filterarrayforEachencryptionbrowsercjkrouteobjectECMAScript 3filterawssettingstypanionajaxmodulesappkoreanpackage.jsonMapUnderscorefast-deep-clonetddfsdefinetypedarrayutil.inspectescapeavagetOwnPropertyDescriptorconcurrencyes-shim APIhotcopyparentes-abstractasttslibparseroncetestersetPrototypeOfnumberES7loghigher-orderES3stringifyrm -rfkarmaFunction.prototype.namecode pointswalkrequestmoveoptionsnscheckclassnameredactdatastructurel10ncall-bindbundlerArrayBuffer.prototype.sliceerrorcore-jsfpsstylesuninstallgetintrinsic0prettyECMAScript 2016argsdebugcloudsearchsigintsymlinkObject.entrieschromiummonorepostablepreserve-symlinkspreprocessorargvcachepushsignalsshellinspectES2017configurableflatMapsuperstructstyled-componentsmimetypestypedcssinstallersigtermrm -frxterma11ydotenvcomputed-typestoolshasOwnargparseconnectwindowsECMAScript 7ECMAScript 2015ESES2020quotedayjspnpm9mobilestylingio-tsworkerwritableprocessaccessores-shims_.extendprototypelessvariables in cssECMAScript 2020exit-codecallmulti-packagehasOwnPropertyelectronzodpackage managerdeep-clonebyteOffsetrangeerrorcloneratelimitAsyncIteratorpromisescloudfrontsignalidlelastarktypestdlibdataviewUint16Arrayuuidsqscreateponyfillstreams2less.jstouchCSSStyleDeclarationspecWeakMapwidthrdsmime-dbdescriptionTypeBoxtrimec2frameworktesteast-asian-widthObject.assign__proto__zerowatch@@toStringTagwatchingsliceequalRegExp#flagsHyBifile systemserializesymbolsMicrosoftoperating-systempostcssroutercss nestinginternalreact-hook-formformsfast-cloneYAMLrequirestructuredClonedatepackagesECMAScript 2019textes5matchesprotoclass-validatorInt32Arraydom-testing-libraryprogresstapesharedfull-widthlockfilemkdirptermmapReactiveExtensionslibphonenumberremoveSymbolmatches2015querystringwaitfetchform-validationconsumejsonpathjsxeslintpluginprivate dataindicatorless mixinsECMAScript 6immutableincludesvisualautoscalingstringurlsuperagentregexfast-copypropertythrottleestreereduxbeanstalkObservablesiamhashwhatwgimmer
4.13.118

12 months ago

4.13.117

12 months ago

5.13.118

12 months ago

5.13.119

12 months ago

4.12.113

12 months ago

5.14.125

12 months ago

4.12.114

12 months ago

5.14.124

12 months ago

4.12.115

12 months ago

5.14.123

12 months ago

4.12.116

12 months ago

4.12.117

12 months ago

5.14.122

12 months ago

5.14.121

12 months ago

4.12.110

1 year ago

5.14.120

12 months ago

4.12.111

12 months ago

4.12.112

12 months ago

4.12.102

1 year ago

4.12.103

1 year ago

4.12.104

1 year ago

4.12.105

1 year ago

5.14.119

12 months ago

4.12.106

1 year ago

4.12.107

1 year ago

4.12.108

1 year ago

4.12.109

1 year ago

4.12.101

1 year ago

4.12.99

1 year ago

4.12.98

1 year ago

4.12.100

1 year ago

4.12.97

1 year ago

4.12.96

1 year ago

4.12.95

1 year ago

4.12.94

1 year ago

3.12.92

1 year ago

3.12.91

1 year ago

3.12.94

1 year ago

3.12.93

1 year ago

3.12.90

1 year ago

3.12.89

1 year ago

3.12.88

1 year ago

3.12.87

1 year ago

3.12.86

1 year ago

3.12.85

1 year ago

3.12.84

1 year ago

3.11.82

1 year ago

3.11.81

1 year ago

3.11.84

1 year ago

3.11.83

1 year ago

3.10.79

1 year ago

3.10.78

1 year ago

3.10.80

1 year ago

3.10.81

1 year ago

3.10.76

1 year ago

3.10.77

1 year ago

3.9.76

1 year ago

3.9.75

1 year ago

3.8.74

1 year ago

3.8.75

1 year ago

3.8.72

1 year ago

3.8.73

1 year ago

3.8.70

1 year ago

3.8.71

1 year ago

1.7.50

1 year ago

1.6.40

1 year ago

1.6.42

1 year ago

1.6.41

1 year ago

1.6.44

1 year ago

1.6.43

1 year ago

1.6.46

1 year ago

1.6.45

1 year ago

3.7.59

1 year ago

3.8.69

1 year ago

3.7.57

1 year ago

3.7.58

1 year ago

3.8.67

1 year ago

3.8.68

1 year ago

3.7.56

1 year ago

3.8.65

1 year ago

3.8.66

1 year ago

2.7.51

1 year ago

2.7.50

1 year ago

3.7.64

1 year ago

3.7.65

1 year ago

1.7.46

1 year ago

1.6.35

1 year ago

1.7.47

1 year ago

3.7.62

1 year ago

2.7.55

1 year ago

1.7.48

1 year ago

1.6.37

1 year ago

3.7.63

1 year ago

2.7.54

1 year ago

1.7.49

1 year ago

1.6.36

1 year ago

3.7.60

1 year ago

2.7.53

1 year ago

1.6.39

1 year ago

3.7.61

1 year ago

2.7.52

1 year ago

1.6.38

1 year ago

2.7.56

1 year ago

1.6.34

1 year ago

1.6.31

1 year ago

1.6.30

1 year ago

1.6.33

1 year ago

1.6.32

1 year ago

1.6.28

1 year ago

1.6.29

1 year ago

1.5.28

1 year ago

1.2.19

1 year ago

1.2.20

1 year ago

1.4.24

1 year ago

1.4.26

1 year ago

1.2.21

1 year ago

1.4.25

1 year ago

1.2.22

1 year ago

1.4.27

1 year ago

1.3.24

1 year ago

1.5.27

1 year ago

1.3.22

1 year ago

1.3.23

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.0.8

1 year ago

1.0.7

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