8.13.119 • Published 10 months ago

@patrtorg/dignissimos-dolor-quas v8.13.119

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

@patrtorg/dignissimos-dolor-quas 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('@patrtorg/dignissimos-dolor-quas');
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

graphql-clientserializerdstypescriptttyform-validationObjectreadableajvECMAScript 6findLastpropargvrsses2015textcallbindes2017mkdirpparentsshebangSymbol.toStringTagbusydeleteprivateisConcatSpreadableES5utilityidentifierssyntaxerrortddxtermtoStringTagwhatwggraphql@@toStringTagbundlerarraysa11yslottouchlockfilechromebrowserliststablewrite256hasstreamboundzxstylefunctionchineseWeakSetJSON-SchemaguidUint32Arrayes2016typesqsEStc39jsobjRxJSsyntaxtesters3reducersideresolvereact-hooksfunction.lengthchromiumrequirecolourfromcore-jsmergeReflect.getPrototypeOfObject.assignrmdirconcatautoscalingregular expressionsprefixvesttraverseloadbalancingidlepyyamlpolyfillcloudformationArray.prototype.flatteneslintthrottlespinnersgetintrinsictsECMAScript 2021performanceWebSocketsES2023valuecolumncoercibleoffsetgroupfull-widthsubprocesstimeignoremkdirsbddRegExp.prototype.flagsnativeWebSocketreadinternalemrtoSortedinstallpathrulescollection.es6efficientl10narraybufferreusejshintcheckshamtransformbyteOffsetvarsfast-deep-copyloggingflatargsprotocol-bufferstypesafeArray.prototype.findLastIndexmake dirArray.prototype.includesparentswffnmatchruntimescheme-validationchannelextensionextendES2022assertsthreeprogressrequestdependenciesECMAScript 2022removedeepcopyprotobufgetterloglocalcallboundhookformexpressionRFC-6455awesomesaucetakeshimhelpersvalidationmobileES2015gdprwordbreakeventstaskconsumejoiiteratelinewrapimporteventEmitterhardlinksdeep-copyperformantpropertiesObservablessimpledbextraStreamargumenttoobjectmatchAllroute53reactpackagesworkspace:*reworkenvironmentdatarfc4122.gitignorecss-in-jseslintplugincircularmapreduceregularecmascripttypanionmanipulationownArray.prototype.flatMapFloat32Arraydeepclonejsxsettersharedpersistentiamcurlamazoncloudwatchoptimizerhas-ownECMAScript 5ECMAScript 2019kinesisTypeScriptECMAScript 2020routeexecuteObject.issetImmediatemomentdefinePropertyredactrgbdirectoryespreestdlibmime-dblastflatMapredirectloadingES2019ObservableairbnbcopyxhrshrinkwrapsymlinkseveryvisualarktypedescriptionstylesobjectasciiproxyhashtypedECMAScript 3TypeBoxassertes-abstractES2020ESnextArray.prototype.containswalkingtrimRightES3spinnertapmulti-packageworkflowfeedregexbrowserslisthasOwnPropertyUint8ClampedArraypostcssgroupByatominstallerreact-testing-librarysetPrototypeOfagentString.prototype.trimformattingfindupcharactersES6zerosorted
8.13.119

10 months ago

8.13.118

10 months ago

7.11.109

10 months ago

8.13.117

10 months ago

3.8.81

11 months ago

8.13.116

10 months ago

3.8.82

11 months ago

3.8.80

11 months ago

3.4.59

1 year ago

3.6.76

12 months ago

3.6.75

12 months ago

3.3.58

1 year ago

3.3.59

1 year ago

3.5.75

12 months ago

3.5.74

12 months ago

3.5.73

12 months ago

4.8.83

11 months ago

4.8.82

11 months ago

4.8.85

11 months ago

4.8.84

11 months ago

4.8.86

11 months ago

2.1.19

1 year ago

2.1.21

1 year ago

5.10.98

11 months ago

3.5.72

12 months ago

5.10.97

11 months ago

3.5.71

12 months ago

2.1.20

1 year ago

3.5.70

12 months ago

5.10.99

11 months ago

5.10.94

11 months ago

7.13.115

10 months ago

5.10.96

11 months ago

7.13.116

10 months ago

5.10.95

11 months ago

7.13.113

10 months ago

7.13.114

10 months ago

3.8.78

12 months ago

3.8.79

12 months ago

3.8.77

12 months ago

3.7.77

12 months ago

3.7.76

12 months ago

7.12.109

10 months ago

7.12.113

10 months ago

6.10.100

11 months ago

7.12.112

10 months ago

6.10.101

11 months ago

6.10.104

11 months ago

6.10.105

10 months ago

7.12.111

10 months ago

6.10.102

11 months ago

7.12.110

10 months ago

6.10.103

11 months ago

3.5.69

12 months ago

7.10.108

10 months ago

7.10.107

10 months ago

7.10.109

10 months ago

6.10.99

11 months ago

2.2.28

1 year ago

2.2.29

1 year ago

2.2.26

1 year ago

2.2.27

1 year ago

2.2.24

1 year ago

2.2.25

1 year ago

2.2.22

1 year ago

2.2.23

1 year ago

2.2.21

1 year ago

3.4.69

12 months ago

3.2.46

1 year ago

3.2.45

1 year ago

3.2.48

1 year ago

3.2.47

1 year ago

3.2.49

1 year ago

4.9.90

11 months ago

3.4.61

1 year ago

3.4.62

1 year ago

3.4.63

1 year ago

3.4.64

12 months ago

3.4.65

12 months ago

3.4.66

12 months ago

3.4.67

12 months ago

3.4.68

12 months ago

2.2.39

1 year ago

2.0.15

1 year ago

2.0.16

1 year ago

2.2.37

1 year ago

2.0.13

1 year ago

2.2.38

1 year ago

2.0.14

1 year ago

2.2.35

1 year ago

2.0.11

1 year ago

2.2.36

1 year ago

2.0.12

1 year ago

7.10.106

10 months ago

2.2.33

1 year ago

7.10.105

10 months ago

3.4.60

1 year ago

2.2.34

1 year ago

2.2.31

1 year ago

2.2.32

1 year ago

2.2.30

1 year ago

3.2.57

1 year ago

3.2.56

1 year ago

3.2.58

1 year ago

4.10.94

11 months ago

3.2.51

1 year ago

3.2.50

1 year ago

4.9.86

11 months ago

3.2.53

1 year ago

2.0.19

1 year ago

3.2.52

1 year ago

4.9.88

11 months ago

3.2.55

1 year ago

2.0.17

1 year ago

4.9.87

11 months ago

3.2.54

1 year ago

2.0.18

1 year ago

4.9.89

11 months ago

2.2.44

1 year ago

2.2.45

1 year ago

4.10.90

11 months ago

2.2.42

1 year ago

4.10.91

11 months ago

2.2.43

1 year ago

4.10.92

11 months ago

2.2.40

1 year ago

4.10.93

11 months ago

2.2.41

1 year ago

2.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

2.0.9

1 year ago

1.0.6

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