1.1.13 • Published 2 days ago

@womorg/aspernatur-quisquam-ipsam v1.1.13

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

2 days ago

1.1.12

3 days ago

1.1.11

4 days ago

1.1.10

5 days ago

1.1.9

6 days ago

1.1.8

7 days ago

1.0.8

8 days ago

1.0.7

9 days ago

1.0.6

10 days ago

1.0.5

11 days ago

1.0.4

12 days ago

1.0.3

13 days ago

1.0.2

14 days ago

1.0.1

15 days ago

1.0.0

16 days ago