9.14.145 • Published 10 months ago

@firanorg/voluptate-perspiciatis-placeat v9.14.145

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months 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

10 months ago

9.14.144

10 months ago

9.14.143

10 months ago

9.13.142

10 months ago

9.13.143

10 months ago

9.13.140

10 months ago

9.13.141

10 months ago

9.13.139

10 months ago

9.13.135

10 months ago

9.13.136

10 months ago

9.13.137

10 months ago

9.13.138

10 months ago

9.13.131

11 months ago

9.13.132

11 months ago

9.13.133

11 months ago

9.13.134

11 months ago

9.13.130

11 months ago

9.13.128

11 months ago

9.13.129

11 months ago

9.13.126

11 months ago

9.13.127

11 months ago

8.13.126

11 months ago

8.13.125

11 months ago

8.12.125

11 months ago

8.12.124

11 months ago

8.12.123

11 months ago

8.11.122

11 months ago

8.11.121

11 months ago

8.11.123

11 months ago

8.11.120

11 months ago

8.10.118

11 months ago

8.11.119

11 months ago

8.10.119

11 months ago

8.10.117

11 months ago

8.10.116

11 months ago

8.10.115

11 months ago

8.10.112

11 months ago

8.10.113

11 months ago

8.10.114

11 months ago

8.10.111

11 months ago

8.10.109

11 months ago

8.10.110

11 months ago

8.10.108

12 months ago

8.10.107

12 months ago

8.10.106

12 months ago

8.9.106

12 months ago

8.9.105

12 months ago

8.9.104

12 months ago

8.9.103

12 months ago

8.9.102

12 months ago

8.9.101

12 months ago

7.5.73

1 year ago

7.5.74

1 year ago

8.9.99

12 months ago

8.9.98

12 months ago

7.3.63

1 year ago

6.3.63

1 year ago

4.1.20

1 year ago

4.1.21

1 year ago

4.1.22

1 year 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

1 year ago

4.1.28

1 year ago

4.1.29

1 year ago

4.1.23

1 year ago

4.1.24

1 year ago

4.1.25

1 year ago

4.1.26

1 year ago

6.2.40

1 year ago

7.8.89

1 year ago

7.8.88

1 year ago

2.1.18

1 year ago

2.1.19

1 year ago

4.2.29

1 year ago

2.1.20

1 year 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

12 months ago

7.8.92

12 months ago

7.8.91

1 year ago

7.8.90

1 year ago

7.8.97

12 months ago

6.2.31

1 year ago

7.8.96

12 months ago

6.2.32

1 year ago

7.8.95

12 months ago

7.8.94

12 months ago

7.6.77

1 year ago

6.2.35

1 year ago

8.9.100

12 months 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

12 months 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

1 year ago

4.2.30

1 year ago

6.3.54

1 year ago

7.9.98

12 months 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

1 year ago

2.1.16

1 year ago

2.1.14

1 year ago

2.1.15

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.0.5

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