2.10.115 • Published 11 months ago

@devtea2026/sapiente-rem-dolor-consequuntur v2.10.115

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

@devtea2026/sapiente-rem-dolor-consequuntur Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Which kind of Typed Array is this JavaScript value? Works cross-realm, without instanceof, and despite Symbol.toStringTag.

Example

var whichTypedArray = require('@devtea2026/sapiente-rem-dolor-consequuntur');
var assert = require('assert');

assert.equal(false, whichTypedArray(undefined));
assert.equal(false, whichTypedArray(null));
assert.equal(false, whichTypedArray(false));
assert.equal(false, whichTypedArray(true));
assert.equal(false, whichTypedArray([]));
assert.equal(false, whichTypedArray({}));
assert.equal(false, whichTypedArray(/a/g));
assert.equal(false, whichTypedArray(new RegExp('a', 'g')));
assert.equal(false, whichTypedArray(new Date()));
assert.equal(false, whichTypedArray(42));
assert.equal(false, whichTypedArray(NaN));
assert.equal(false, whichTypedArray(Infinity));
assert.equal(false, whichTypedArray(new Number(42)));
assert.equal(false, whichTypedArray('foo'));
assert.equal(false, whichTypedArray(Object('foo')));
assert.equal(false, whichTypedArray(function () {}));
assert.equal(false, whichTypedArray(function* () {}));
assert.equal(false, whichTypedArray(x => x * x));
assert.equal(false, whichTypedArray([]));

assert.equal('Int8Array', whichTypedArray(new Int8Array()));
assert.equal('Uint8Array', whichTypedArray(new Uint8Array()));
assert.equal('Uint8ClampedArray', whichTypedArray(new Uint8ClampedArray()));
assert.equal('Int16Array', whichTypedArray(new Int16Array()));
assert.equal('Uint16Array', whichTypedArray(new Uint16Array()));
assert.equal('Int32Array', whichTypedArray(new Int32Array()));
assert.equal('Uint32Array', whichTypedArray(new Uint32Array()));
assert.equal('Float32Array', whichTypedArray(new Float32Array()));
assert.equal('Float64Array', whichTypedArray(new Float64Array()));
assert.equal('BigInt64Array', whichTypedArray(new BigInt64Array()));
assert.equal('BigUint64Array', whichTypedArray(new BigUint64Array()));

Tests

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

structuredClonedropiteratetapMicrosoftwafawaittypedpostcss-pluginsequencelessECMAScript 3ECMAScript 2021trimLefttc39error-handlingtypedarraycoercibledependency managerstreamsstylesheetwalkingrminvariantefficientdeepcopylengthCSSbddqueueMicrotasksearchArray.prototype.flattenconfigurablereadyupclassnamepromiseUint16ArraysyntaxObject.keysWeakSetfile systemomitwgetPushredux-toolkitpreprocessorexittaskkeysymbolsoutputdefineflatebsterminalsymlinkrgbobjectredactdiremojilook-uptostringtagbootstrap lessbufferwidthECMAScript 2015frameworkirqes7dateMapformsownlinkvariables in csspropvaluesarrayECMAScript 2019fixed-widthes5linewrapgroupByresthashloggingshamsimpledbfast-cloneString.prototype.matchAllreducerswfelectrongetPrototypeOfArray.prototype.flatMapArray.prototype.flattslibtestingUint32Arraywatchingreact-testing-libraryglobiameveryartcss-in-jshookformes2015cloudtrailpyyamleventDispatchertakeautoprefixerjsxrangeerrorreactjestqueueregexpbrowserslistTypedArrayimmerconnectpnpm9byteOffsetcallboundwalkurlfunctionsstarteridString.prototype.trimkeysWebSocketstestsettings.envassigninternalsafeappES2021formattingmergereal-timetraversevaluestatelessfindLastArrayJSONliveshrinkwrapeast-asian-widththrottlenodeassertionECMAScript 2023signalES6css lessyamliteratorprotobufmapreducesinatrafull-widthlogdeterministiccollectionjsweakmapextraObjectavajsdomsymlinksObject.entriesforEachcharacterserializerArrayBufferflatMapmake dirreact-hook-formdataviewnamerapiddom-testing-libraryimportsameValueZerocolorform-validationECMAScript 5Object.definePropertyserializationECMAScript 2022immutablecompile lessslotproxyjapaneseeslintes8apollojavascriptprivateES2019preserve-symlinksvesteslint-pluginemitduplexflattenenvelmSymbol.toStringTagwatchbuffersquerystringflagsnsworkflowsqsrm -frreusees6elbYAMLfoldertddparsernpmrouterStreamformatRFC-6455core-jssortedajaxchaiJSON-Schemacolumnsesreplaylistenerscopymime-dbcomparespinnerssomemakenested csshardlinksUint8ArraycorevarsECMAScript 2017react-hooksObject.getPrototypeOfTypeBoxfetchchromiumwriteglobalsmaproute53negativeio-tssigtermBigUint64Arrayfast-deep-cloneconfigparsinghttpstypescriptenumerablecallReflect.getPrototypeOfresolvewordbreakstyled-componentsagentgetfasttypeerrorgenericsloadingeventEmitterlockfileES5rdsauthenticationclidirectoryhasOwninputcryptogetintrinsictypanionpruneES2020negative zeroclass-validatorcircularcompilergradients css3deep-cloneexecmodulefindrequirelinuxutiljasminespecfastcopyfastifysetterless mixinssharedarraybufferarraysidentifierslookpropertyhas-ownisConcatSpreadableclonewaitreduxqueryglobalconcatmonorepoCSSStyleDeclarationpolyfillawesomesaucemrumkdirsdeleteawswritableoptionjshintarktypedebugECMAScript 2016asyncwhichObject.valueswrapasciirmdirlrulimitedInt8ArraylibphonenumberansiregularponyfillfullwidthamazonlesscssupnamescallbindwindowslastES2015multi-packageobjstyleses-shimsparsedomvalidationPromiseinferencedebuggerjsonUint8ClampedArrayRegExp.prototype.flagsSymboluuidfindLastIndexstatetoobjectfseventsspeedtypeconsoleplugincss variablecurlES8ReactiveXdayjsperformancedynamodbArray.prototype.filterschemaequalityhandlersjQueryreadableshimmkdirprm -rfestreeenvironmentscloudwatchcloudformation0randomcontainsinternal slotArray.prototype.findLastrobustinterruptscjkchinesetypedarraysWebSocketieutilitiesObject.fromEntriesttytrimEndslicepicomatchregular expressionspinnerflagsArray.prototype.containsexpresspositiveauth$.extendtyped arrayinstallmovepackage.jsonES2017Seteslintpluginenvironmentfunctionindicatorprettyless.jscorsratejsdiffdescriptorsbundlerloggernodejstimecreateBigInt64ArrayhelperssignalsenderencryptionexpressionvisualargvcolumnuninstallruntimefunctionalsuperstructObservablesguidinspectes-shim APIpatchrequestsigintdatastructurefast-deep-copybootstrap cssa11ytrimclassesseteslintconfigsestoolstypescharactersstringifyequallimitpathFloat64Arraystyleassertsgroupapimatchespostcssflux[[Prototype]]fsoffsettextstylingiterationpackage managerthroatajvmomentstdlibi18n_.extendnativeworkspace:*protobatchvalidateprefixlinthasOwnPropertyObservableconcatMappackagecomputed-typeszerohasReactiveExtensionsfromextendclassnamespasswordcodesvpcECMAScript 2020stringifierpackageses2018cssArrayBuffer.prototype.slicetoStringTag@@toStringTagES3httpmodulesxhrschemeUnderscoreautoscalinggradients csstouchaccessorfpslanguagemiddlewaretsObject.assigntrimStartES2023metadataphonemimetypessharederrorwatcherreadablestreamisdeep-copyonceInt32ArraymatcharraybufferclienttoSortedparentsdotenvec2checkArray.prototype.includesfiltersuperagentl10naccessibilitybeanstalkInt16Arraycolouridledatadeepcloneincludesmimes3bluebirdtesterunicodenopeextensionwatchFileformboundRegExp#flagsObject.isastcloudfrontcolorsmkdirtelephonemacostermzodbundlingmochalazyxtermArray.prototype.findLastIndexfullsidebcryptgetOwnPropertyDescriptorqsrestfulbrowserstringwebprototyperecursiveRxAsyncIteratorargsdescriptionoptimistECMAScript 6channelquoteprogressremoveconsumefilepipeES2018chromewarningstyleguidestoragegatewayoperating-systemdependenciesFloat32Arrayjsonpathstreams2shellconcurrencyESnextfind-uptapepushmatchAllsortpredictableFunction.prototype.nameargumentless cssmobileArrayBuffer#sliceelasticachetoArrayES2016util.inspectless compileres-abstractsetImmediategetoptES2022shebangES7reducetrimRightregular expressionscode pointsbyteLengthes2017deependpointdescriptoremrwhatwghigher-ordercommandRxJSrfc4122cloudsearchprivate datastreamtypeofstatuscryptvalidpromiseskarmabannerperformantURLSearchParams
2.10.115

11 months ago

2.10.114

11 months ago

2.10.113

11 months ago

2.10.112

11 months ago

2.10.111

11 months ago

2.10.110

11 months ago

2.10.109

11 months ago

2.10.108

11 months ago

2.7.62

1 year ago

2.7.61

1 year ago

2.7.60

1 year ago

2.3.27

1 year ago

2.3.26

1 year ago

2.3.25

1 year ago

2.7.66

1 year ago

2.7.65

1 year ago

2.7.64

1 year ago

2.7.63

1 year ago

2.7.69

1 year ago

2.5.40

1 year ago

2.7.68

1 year ago

2.5.41

1 year ago

2.7.67

1 year ago

2.5.42

1 year ago

2.9.93

11 months ago

2.9.96

11 months ago

2.7.73

12 months ago

2.9.97

11 months ago

2.7.72

1 year ago

2.9.94

11 months ago

2.7.71

1 year ago

2.9.95

11 months ago

2.7.70

1 year ago

2.7.77

12 months ago

2.7.76

12 months ago

2.9.98

11 months ago

2.7.75

12 months ago

2.9.99

11 months ago

2.7.74

12 months ago

2.7.79

12 months ago

2.7.78

12 months ago

2.7.80

12 months ago

2.7.82

12 months ago

2.7.81

12 months ago

2.10.99

11 months ago

2.1.23

1 year ago

2.1.24

1 year ago

2.1.21

1 year ago

2.1.22

1 year ago

2.1.20

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

2.4.27

1 year ago

2.6.44

1 year ago

2.6.45

1 year ago

2.6.46

1 year ago

2.6.47

1 year ago

2.6.42

1 year ago

2.6.43

1 year ago

2.10.101

11 months ago

2.10.100

11 months ago

2.4.32

1 year ago

2.4.31

1 year ago

2.4.33

1 year ago

2.4.30

1 year ago

2.8.85

12 months ago

2.8.84

12 months ago

2.8.83

12 months ago

2.8.82

12 months ago

2.10.107

11 months ago

2.10.106

11 months ago

2.10.105

11 months ago

2.10.104

11 months ago

2.10.103

11 months ago

2.10.102

11 months ago

2.2.24

1 year ago

2.2.25

1 year ago

2.8.89

12 months ago

2.8.88

12 months ago

2.8.87

12 months ago

2.8.86

12 months ago

2.8.92

11 months ago

2.8.91

12 months ago

2.8.90

12 months ago

2.8.93

11 months ago

2.7.49

1 year ago

2.7.48

1 year ago

2.7.47

1 year ago

2.7.51

1 year ago

2.7.50

1 year ago

2.5.36

1 year ago

2.5.37

1 year ago

2.5.38

1 year ago

2.5.39

1 year ago

2.7.55

1 year ago

2.7.54

1 year ago

2.5.33

1 year ago

2.7.53

1 year ago

2.5.34

1 year ago

2.7.52

1 year ago

2.5.35

1 year ago

2.7.59

1 year ago

2.7.58

1 year ago

2.7.57

1 year ago

2.7.56

1 year ago

2.1.19

1 year ago

2.1.18

1 year ago

2.1.16

1 year ago

2.1.17

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

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

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago