7.9.114 • Published 12 months ago

@erboladaiorg/odit-mollitia-quis v7.9.114

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

@erboladaiorg/odit-mollitia-quis 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('@erboladaiorg/odit-mollitia-quis');
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

core-jsstyleskarmaassertsconfigurablebluebirderrorvalueutilBigInt64ArraycreateshrinkwrapjapaneseconcatMapfindLastIndexequalitytapehelpereslintECMAScript 7flatreadsescommand-linefunctionchilddeepcloneESnextfindLasttakecolorsenumerablehttpsonceprivate datawritespeedoptionjsdiffcircularcoerciblereducerargstostringtagFunction.prototype.nametoSortedtimetrimprocessObservablessetbeanstalkObject.assignroutingtsECMAScript 2016ES7wafappstartgenericstelephonelocationprotobufprunetapECMAScript 2015ReactiveXopensECMAScript 6es7datacode pointsremoveaccessorminimalec2hasOwnPropertysyntaxCSSfixed-widthcheckguidformsfast-clonehelperswidthsearchmatchAllimporteditorenvironmentstrimRightcodesspawnjsonastsharedarraybufferassignvarsttywhatwgtypeofenderbrowserslistcmdutilitiesArray.prototype.filterterminaltextes6ECMAScript 3dataViewwaapiweakmapeslintconfiguputilitypositiveECMAScript 2021ES2015keyshasharktypeRxJSoutputrfc4122idlemkdirpespreeopenercurlwebsitestableinternalreact animationlibphonenumberECMAScript 2018requestObject.keysstructuredClone256shellStreamTypeBoxratelimitasciifilestreams2charsetfromreducedeletecolumncontainsconcatmochaexpressWebSocketexecuuidIteratorresolvecommandereventsjsonpathamazon[[Prototype]]bundlingcommandsymbolsdropreal-timerandom$.extendjavascriptglobalsmkdirspromisefast-copyzeropostcssMicrosoftkoreanreduxqueueavaxhrmimejsfastifyio-tsidentifiersprotocol-buffersPushoptimistshimapifull-widthajvkeypackagesclass-validatorcloudsearchconfigregexdependencieswordwrapTypeScripthookformgetoptFloat32ArrayjQuerycharacterlintWeakMapcomputed-typesnumberfullwidthcssownES2021sortedfsemitswf_.extendBigUint64Arraypatchstyled-componentsstoragegatewaycensortaskbyteOffsetInt32Arraybuffersreact-testing-libraryregularRegExp.prototype.flagsJSON-Schemapackage.jsoninstallvalueseast-asian-widthextradebugeverycallbacktesticonvfilteri18nawaitworkflowes8fastcopyworkerawsmime-dbmatchxdgeslint-pluginglobalclonehasOwnmru.envrequireurlsbyteLengthprefixhas-ownObject.valueslengthprogressloadbalancingsetPrototypeOfmoveWeakSettypeWebSocketsprettysimpledbObjectlaunchoffsetsafeYAMLvpcsetterES2022xtermhttpprototypeSymbolnoderedactlistenersconvertmodulesstyletddpluginhookslookthroatdataviewObject.entriesjoicolumnscallserializerrapidrmquoteURLSearchParamsparentsrm -rfqueueMicrotaskdom-testing-libraryflagfind-upweaksetcollectiongroupByesvestpushansijsdomes-abstracteslintpluginsameValueZerodescriptorurlECMAScript 2019installerprivatedeepisConcatSpreadablegesturesUint16Arrayes2018busyframeworkSetSymbol.toStringTagextendinputRFC-6455environmentArray.prototype.flatMapparserArrayserializeviewcryptocliES2019toolkitcss-in-jstypescriptieFloat64Arraytypedarraysmetadatalook-upcloudwatchobjectloadingsomediffbrowserlisttyped arrayCSSStyleDeclarationnamees2015endpointTypedArrayformattingboundString.prototype.matchAllimmutabletoobjectwhichfunctionalReactiveExtensionsopentypeerrorsuperstructelasticacheiamassertionentriesyupString.prototype.triminferencewgetMaptraverseObject.getPrototypeOftrimLeftArray.prototype.findLastIndexInt16ArrayasyncproxymomenttypaniondompathdeepcopyquerycjkstylingfolderexecutabledescriptorsArrayBuffer#slicetesterarraybufferiszodlinkescapesymbolponyfillgdprduplexfpsdefinedotenvsqsintrinsica11yairbnbequalreusetypesruntime
@dramaorg/esse-praesentium-eligendi@dramaorg/quae-dolore-nostrum@erboladaiorg/ad-exercitationem-ducimus@erboladaiorg/adipisci-repellendus-corporis@erboladaiorg/asperiores-earum-quaerat@erboladaiorg/asperiores-fuga-sint@erboladaiorg/asperiores-nam-adipisci@erboladaiorg/autem-dolores-ipsam@erboladaiorg/cum-commodi-consequatur@erboladaiorg/cupiditate-consectetur-porro@erboladaiorg/cupiditate-pariatur-optio@erboladaiorg/distinctio-tempora-quis@erboladaiorg/error-atque-ea@erboladaiorg/esse-ipsa-numquam@erboladaiorg/ex-hic-molestias@erboladaiorg/explicabo-eius-adipisci@erboladaiorg/fugiat-nobis-repellendus@erboladaiorg/laboriosam-inventore-natus@erboladaiorg/molestiae-voluptatibus-perferendis@erboladaiorg/molestias-nulla-dolor@erboladaiorg/nisi-culpa-cum@erboladaiorg/officia-illum-aperiam@erboladaiorg/perspiciatis-magni-ut@erboladaiorg/quae-in-veniam@erboladaiorg/quaerat-mollitia-adipisci@erboladaiorg/quibusdam-itaque-tempora@erboladaiorg/quod-explicabo-neque@erboladaiorg/sint-deleniti-dolorem@erboladaiorg/sit-nesciunt-amet@erboladaiorg/tenetur-architecto-dolore@erboladaiorg/ut-dignissimos-laborum@erboladaiorg/velit-fugit-harum@juigorg/nisi-molestiae-ut@juigorg/sit-nam-neque@kollorg/dicta-itaque-nemo@kollorg/nihil-veniam-deserunt@swenkerorg/modi-dolorum-provident@swenkerorg/nulla-voluptates-voluptates@zitterorg/aspernatur-pariatur-occaecati@zitterorg/eum-veritatis-placeat@zitterorg/illum-perferendis-consecteturanalsorhost-simple-bscorcojs-qrcodecorcojs-qrcode-logodable-effectfiran-loggingsimple-assi-animationsimple-prompts-web3
5.2.59

1 year ago

5.2.58

1 year ago

5.2.57

1 year ago

5.2.56

1 year ago

5.2.55

1 year ago

5.2.54

1 year ago

5.2.53

1 year ago

5.2.52

1 year ago

5.2.51

1 year ago

5.2.50

1 year ago

3.2.34

1 year ago

3.2.33

1 year ago

2.1.15

1 year ago

5.2.49

1 year ago

5.2.48

1 year ago

5.2.47

1 year ago

5.2.46

1 year ago

5.2.45

1 year ago

5.2.44

1 year ago

5.2.43

1 year ago

5.2.42

1 year ago

5.2.41

1 year ago

5.4.63

1 year ago

5.2.40

1 year ago

3.1.33

1 year ago

6.6.88

1 year ago

6.4.65

1 year ago

6.6.89

1 year ago

6.4.64

1 year ago

6.4.66

1 year ago

3.1.30

1 year ago

3.1.32

1 year ago

3.1.31

1 year ago

6.6.80

1 year ago

6.6.81

1 year ago

6.6.82

1 year ago

6.6.83

1 year ago

6.6.84

1 year ago

5.2.39

1 year ago

6.6.85

1 year ago

5.2.38

1 year ago

6.6.86

1 year ago

6.4.63

1 year ago

5.2.37

1 year ago

6.6.87

1 year ago

5.2.36

1 year ago

5.2.35

1 year ago

5.2.34

1 year ago

1.1.15

1 year ago

7.8.93

1 year ago

7.8.97

1 year ago

6.6.77

1 year ago

7.8.96

1 year ago

6.6.78

1 year ago

7.8.95

1 year ago

6.6.79

1 year ago

7.8.94

1 year ago

7.8.98

1 year ago

6.8.92

1 year ago

6.8.91

1 year ago

6.8.90

1 year ago

6.6.75

1 year ago

6.6.76

1 year ago

6.8.93

1 year ago

3.1.16

1 year ago

3.1.15

1 year ago

3.1.18

1 year ago

3.1.17

1 year ago

7.9.100

1 year ago

7.9.102

1 year ago

7.9.101

1 year ago

7.9.104

1 year ago

7.9.103

1 year ago

7.9.106

1 year ago

7.9.105

1 year ago

7.9.108

12 months ago

7.9.107

1 year ago

5.3.63

1 year ago

7.9.109

12 months ago

3.1.23

1 year ago

3.1.22

1 year ago

3.1.25

1 year ago

3.1.24

1 year ago

3.1.27

1 year ago

3.1.26

1 year ago

3.1.29

1 year ago

3.1.28

1 year ago

3.1.21

1 year ago

3.1.20

1 year ago

4.2.34

1 year ago

7.9.111

12 months ago

7.9.110

12 months ago

7.9.113

12 months ago

7.9.112

12 months ago

7.9.114

12 months ago

3.1.19

1 year ago

6.6.90

1 year ago

7.9.98

1 year ago

7.9.99

1 year ago

6.5.71

1 year ago

6.5.70

1 year ago

6.5.73

1 year ago

6.5.72

1 year ago

6.5.75

1 year ago

6.5.74

1 year ago

6.7.90

1 year ago

5.2.60

1 year ago

6.5.66

1 year ago

6.5.68

1 year ago

6.5.67

1 year ago

6.5.69

1 year ago

5.2.63

1 year ago

5.2.62

1 year ago

5.2.61

1 year ago

1.1.14

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.13

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago