9.14.145 • Published 1 year ago

@firanorg/voluptate-perspiciatis-placeat v9.14.145

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@firanorg/voluptate-perspiciatis-placeat Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

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

Example

var isTypedArray = require('@firanorg/voluptate-perspiciatis-placeat');
var assert = require('assert');

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

assert.ok(isTypedArray(new Int8Array()));
assert.ok(isTypedArray(new Uint8Array()));
assert.ok(isTypedArray(new Uint8ClampedArray()));
assert.ok(isTypedArray(new Int16Array()));
assert.ok(isTypedArray(new Uint16Array()));
assert.ok(isTypedArray(new Int32Array()));
assert.ok(isTypedArray(new Uint32Array()));
assert.ok(isTypedArray(new Float32Array()));
assert.ok(isTypedArray(new Float64Array()));
assert.ok(isTypedArray(new BigInt64Array()));
assert.ok(isTypedArray(new BigUint64Array()));

Tests

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

guidArray.prototype.findLastwhichsafefindLaststreamproxysignalsbyteLengthHyBicodesfull-widthtestingenderformatdateecmascriptpreserve-symlinksWeakSetconcatMapstyled-componentsreducerflattenCSSreactsameValueZerowritesymbolwalkingflagseventDispatchershrinkwrapdeletecss lessparserES2017packagees2015Objectelbcensorrgbregular expressionwatchFilerecursiveobjTypeBoxtypeofregulares6requirefast-deep-copywindowsjQueryreadablereact-testing-libraryindicatorloadbalancingxhrformsdirargumentfastquerystringassertioncollectioncommand-linewordwrapMapjapanesedatastringifiergenericscheckless.jscall-bindUint8ClampedArraycompile lesshas-ownconfigtrimwalklimitedtrimLeftreadrouteyamltouchpathansipostcsswatchingflatmomentassertstoArrayprivatehotstdlibformattingjavascripttslibunicodegetPrototypeOfserializationprotobufhelperscollection.es6rm -rfReflect.getPrototypeOftoolkitcsseventsstylingArrayBuffer#slicefindLastIndexincludeserroreventEmitterwhatwgsortedpostcss-pluginttyArray.prototype.flatMapbluebirdjestWebSocketsgetOwnPropertyDescriptortrimStartappECMAScript 2020koreanreplaypushBigUint64ArraytraverseWeakMapdescriptorsfindnumberendpointsinatrasyntaxbyteOffsetentriesintrinsicqueuechromefpsArray.prototype.filtercommanders3trimEndprivate databreakreusetoobjectnpmsetImmediateexitSymbolschemebrowserslisttypanionruntimeimmutablefind-uprestphoneprototypeiteratorwgetlanguagedefinehasOwnPropertyterminalmkdiroutputqueryObject.fromEntriesfullwidthdatastructureoptimistvalidatechannelrapidcoresignalUint8Arrayjsonpathimporttypedsuperagentbootstrap cssPushcacheoffsetECMAScript 2022waitfigletJSON-Schemacore-jsrmrobustinputinstalleroptionargparsepatchFloat64ArrayvaluesinferencelivetoSortedbddtypeswidthparentbeanstalkspeeda11yreact-hooksvpcmkdirsautoprefixersqslookcoercibletimeinparseiterateES5testerRegExp.prototype.flagsvaluereadablestreamES2016es-shim APIcommandgradients csshigher-ordernativei18nsequenceio-tsloggingdescriptionreducecloudformationajvdynamodbutilitydeepclonegetoptregexpbundlingclass-validatorvariablesbusyInt16ArrayreduxArrayBufferartless compilershebangremoveextendArrayBuffer.prototype.sliceECMAScript 2015estreeBigInt64Arraystylesheetdependency managerencryptionfunctionduplextc39requestpyyamlcreatebootstrap lesssimpledbECMAScript 5look-upjsdiffsomepredictablefilterhttpsfastcloneURLSearchParamseslintconfigscheme-validationec2avacharactersettingsdeep-clonetoolsbytebatchclassnames[[Prototype]]ES2023Symbol.toStringTagrestfulcolumnresolveenvironmentagentfast-cloneforEachtyped arrayawschineseebscryptoArray.prototype.includesgetmulti-packageautoscalingsidesortUint32Arrayes2016httpirqpasswordweaksetmatchesES6compileridleES3ES2021__proto__TypedArrayhashcharacterscontainsbrowsereslintpluginviewconfigurabletddelectronfast-deep-clonepackage.jsonlinuxsymlinksdropisinternalyupObject.isYAMLrouterTypeScriptdeepcopydirectorymovehookssigtermstarterpropertyassignmatchclassnameelmfiletypeerrorstatelessjsJSONform_.extendstreamssesserializeparentsparsingredux-toolkitpicomatchauthstyleguideES7rfc4122iterationObject.getPrototypeOfemitzodStreamsSetlinkownisConcatSpreadableredactcjkkinesisoptimizerFloat32Arraycall-boundeslintthroatsuperstructcorsidUint16Arraylockfilecryptmapsymbolsstringifyes2018l10nswfpackageslistenersmimeshimESfunctionaltakeprettyes-shimsbcryptstyleseturlString.prototype.matchAllflagECMAScript 2017error-handlingnegativewatchpolyfilllessasyncregexArray.prototype.flattenstatustostringtagRegExp#flagsenumerablekeysjsonpropflatMapgdprbanner256file systemUnderscoretypescriptInt8Arraybindlengthcopynested cssrangeerrorconcathasRFC-6455css-in-jswordbreakfixed-widthpruneupeveryemrarraybufferECMAScript 7-0ECMAScript 2018callboundsiginthardlinkscircularRxECMAScript 2016awaitwraploadinguuidcomparerateWebSocketclassestelephoneexecthrottlediffreact-hook-form0cloudwatchcolorschaifunctionsStyleSheetpositiveaccessibilitystreams2typedarraytsprocessmkdirpasciifastifycolumnsmobilees8lesscssequalitypiperm -frfseventsqseast-asian-widthmergeaccessortypedarraysauthenticationajaxtapelasticachepreprocessores-abstractlintes5Object.definePropertyES2015MicrosoftwebzeropersistentratelimitinvariantFunction.prototype.namereal-timewatchersnsconcurrencyworkersetPrototypeOfspinnershasOwnchromiumomitarraysplugintoStringTagObservablesAsyncIteratorES2022arktypesymlinkcurllinewrapdebugdebuggerdependenciesjwtcss variablecliexpressdotenvES2020deepargswarningeslint-plugincloudsearchutilutil.inspectmakecss nestingpnpm9estypesharedkarmafindupdeep-copyroute53es7mochagettergroupBysetterArray.prototype.containsString.prototype.trimgetintrinsicstateobjectxtermECMAScript 2023propertieswritablelimitinstalltapedom-testing-libraryefficientmrulogES2019make dirStreamminimalrdsdescriptoronceargvprotoregular expressionsjsx@@toStringTagnamesslotstable
9.14.145

1 year ago

9.14.144

1 year ago

9.14.143

1 year ago

9.13.142

1 year ago

9.13.143

1 year ago

9.13.140

1 year ago

9.13.141

1 year ago

9.13.139

1 year ago

9.13.135

1 year ago

9.13.136

1 year ago

9.13.137

1 year ago

9.13.138

1 year ago

9.13.131

1 year ago

9.13.132

1 year ago

9.13.133

1 year ago

9.13.134

1 year ago

9.13.130

1 year ago

9.13.128

1 year ago

9.13.129

1 year ago

9.13.126

1 year ago

9.13.127

1 year ago

8.13.126

1 year ago

8.13.125

1 year ago

8.12.125

1 year ago

8.12.124

1 year ago

8.12.123

1 year ago

8.11.122

1 year ago

8.11.121

1 year ago

8.11.123

1 year ago

8.11.120

1 year ago

8.10.118

1 year ago

8.11.119

1 year ago

8.10.119

1 year ago

8.10.117

1 year ago

8.10.116

1 year ago

8.10.115

1 year ago

8.10.112

1 year ago

8.10.113

1 year ago

8.10.114

1 year ago

8.10.111

1 year ago

8.10.109

1 year ago

8.10.110

1 year ago

8.10.108

1 year ago

8.10.107

1 year ago

8.10.106

1 year ago

8.9.106

1 year ago

8.9.105

1 year ago

8.9.104

1 year ago

8.9.103

1 year ago

8.9.102

1 year ago

8.9.101

1 year ago

7.5.73

1 year ago

7.5.74

1 year ago

8.9.99

1 year ago

8.9.98

1 year ago

7.3.63

1 year ago

6.3.63

1 year ago

4.1.20

2 years ago

4.1.21

2 years ago

4.1.22

2 years ago

6.3.61

1 year ago

7.3.64

1 year ago

6.3.62

1 year ago

6.3.60

1 year ago

4.1.27

2 years ago

4.1.28

2 years ago

4.1.29

2 years ago

4.1.23

2 years ago

4.1.24

2 years ago

4.1.25

2 years ago

4.1.26

2 years ago

6.2.40

1 year ago

7.8.89

1 year ago

7.8.88

1 year ago

2.1.18

2 years ago

2.1.19

2 years ago

4.2.29

2 years ago

2.1.20

2 years ago

5.2.31

1 year ago

5.2.30

1 year ago

6.2.39

1 year ago

6.2.37

1 year ago

6.2.38

1 year ago

7.8.93

1 year ago

7.8.92

1 year ago

7.8.91

1 year ago

7.8.90

1 year ago

7.8.97

1 year ago

6.2.31

1 year ago

7.8.96

1 year ago

6.2.32

1 year ago

7.8.95

1 year ago

7.8.94

1 year ago

7.6.77

1 year ago

6.2.35

1 year ago

8.9.100

1 year ago

7.6.76

1 year ago

6.2.36

1 year ago

7.6.75

1 year ago

6.2.33

1 year ago

7.8.98

1 year ago

7.6.74

1 year ago

6.2.34

1 year ago

7.6.79

1 year ago

7.6.78

1 year ago

7.6.80

1 year ago

7.6.83

1 year ago

7.6.82

1 year ago

7.6.81

1 year ago

7.4.64

1 year ago

7.4.69

1 year ago

7.4.65

1 year ago

7.4.66

1 year ago

7.4.67

1 year ago

7.4.68

1 year ago

7.4.72

1 year ago

7.4.73

1 year ago

7.4.70

1 year ago

7.4.71

1 year ago

3.1.20

2 years ago

4.2.30

1 year ago

6.3.54

1 year ago

7.9.98

1 year ago

6.3.55

1 year ago

6.3.52

1 year ago

6.3.53

1 year ago

6.3.58

1 year ago

6.3.59

1 year ago

6.3.56

1 year ago

6.3.57

1 year ago

6.3.50

1 year ago

6.3.51

1 year ago

6.3.49

1 year ago

7.7.85

1 year ago

6.3.43

1 year ago

7.7.84

1 year ago

6.3.44

1 year ago

7.7.83

1 year ago

6.3.41

1 year ago

6.3.42

1 year ago

6.3.47

1 year ago

7.7.88

1 year ago

6.3.48

1 year ago

7.7.87

1 year ago

6.3.45

1 year ago

7.7.86

1 year ago

6.3.46

1 year ago

6.3.40

1 year ago

2.1.17

2 years ago

2.1.16

2 years ago

2.1.14

2 years ago

2.1.15

2 years ago

2.1.13

2 years ago

2.1.12

2 years ago

2.1.11

2 years ago

2.1.10

2 years ago

2.1.9

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.0.5

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago