8.13.119 • Published 12 months ago

@patrtorg/dignissimos-dolor-quas v8.13.119

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

12 months ago

8.13.118

12 months ago

7.11.109

1 year ago

8.13.117

12 months ago

3.8.81

1 year ago

8.13.116

1 year ago

3.8.82

1 year ago

3.8.80

1 year ago

3.4.59

1 year ago

3.6.76

1 year ago

3.6.75

1 year ago

3.3.58

1 year ago

3.3.59

1 year ago

3.5.75

1 year ago

3.5.74

1 year ago

3.5.73

1 year ago

4.8.83

1 year ago

4.8.82

1 year ago

4.8.85

1 year ago

4.8.84

1 year ago

4.8.86

1 year ago

2.1.19

1 year ago

2.1.21

1 year ago

5.10.98

1 year ago

3.5.72

1 year ago

5.10.97

1 year ago

3.5.71

1 year ago

2.1.20

1 year ago

3.5.70

1 year ago

5.10.99

1 year ago

5.10.94

1 year ago

7.13.115

1 year ago

5.10.96

1 year ago

7.13.116

1 year ago

5.10.95

1 year ago

7.13.113

1 year ago

7.13.114

1 year ago

3.8.78

1 year ago

3.8.79

1 year ago

3.8.77

1 year ago

3.7.77

1 year ago

3.7.76

1 year ago

7.12.109

1 year ago

7.12.113

1 year ago

6.10.100

1 year ago

7.12.112

1 year ago

6.10.101

1 year ago

6.10.104

1 year ago

6.10.105

1 year ago

7.12.111

1 year ago

6.10.102

1 year ago

7.12.110

1 year ago

6.10.103

1 year ago

3.5.69

1 year ago

7.10.108

1 year ago

7.10.107

1 year ago

7.10.109

1 year ago

6.10.99

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

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

1 year ago

3.4.61

1 year ago

3.4.62

1 year ago

3.4.63

1 year ago

3.4.64

1 year ago

3.4.65

1 year ago

3.4.66

1 year ago

3.4.67

1 year ago

3.4.68

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

1 year ago

2.2.33

1 year ago

7.10.105

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

1 year ago

3.2.51

1 year ago

3.2.50

1 year ago

4.9.86

1 year ago

3.2.53

1 year ago

2.0.19

1 year ago

3.2.52

1 year ago

4.9.88

1 year ago

3.2.55

1 year ago

2.0.17

1 year ago

4.9.87

1 year ago

3.2.54

1 year ago

2.0.18

1 year ago

4.9.89

1 year ago

2.2.44

1 year ago

2.2.45

1 year ago

4.10.90

1 year ago

2.2.42

1 year ago

4.10.91

1 year ago

2.2.43

1 year ago

4.10.92

1 year ago

2.2.40

1 year ago

4.10.93

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