5.14.77 • Published 10 months ago

@erboladaiorg/eum-ipsum-voluptatem v5.14.77

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

@erboladaiorg/eum-ipsum-voluptatem 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('@erboladaiorg/eum-ipsum-voluptatem');
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

envhascodescollectionvarawesomesauceapolloECMAScript 2017computed-typesformattingtypescriptrfc9562propglobalsrapidquotemrucss variableqsfindLastIndexrulesECMAScript 7WebSocketsflatMapbusydeepmapreducestarterextras3Uint32ArrayschemeentriesebsnativeAsyncIteratorECMAScriptcloneruntimeFloat64ArrayconsumethreecssArrayBuffer#slicewindowformsfetchfast-copyrfc4122configurableflagsreact posevalidatorObservablestimeObservableimmutablespinnergenericstrimObject.assigniam3dsymlinksyamlcloudfrontgetterglobReflect.getPrototypeOfstructuredClonetypedescriptorvisualanimationreal-timespringplugincharactermatchesfullgradients cssutilssameValueZeropruneroutecolorsregular expressionstyled-componentspasswordargvdeepcloneaccessibilityfile systemcurlbcryptviewmetadataes2017json-schema-validationemres2016slicefslesscssRegExp#flagsstringfull-widthes8dotenvgetapischemadiffmkdirpequalrobustbinmoduleroute53flattenES2016reversearraybuffertraversefilereversedtc39react animationclassnamespose256libphonenumbercolourastwindowsauthless mixinssetPrototypeOftypedarraygitignorebrowserlistconstdefineregularreducei18nformenvironmentasciiarrayArrayBuffer.prototype.slicemobilehigher-orderWeakSetECMAScript 6importdependenciestrimStartinternal slotcensorairbnbStreamscallbackforEachpnpm9speedsharednegative zerofppropertiesserializationprototypeacornCSSStyleDeclarationlockfiletacitinferenceshamTypedArrayformatpackagesYAMLmatchAllelbchaiES2023pyyamlworkertoArrayprotocol-buffersdeterministicweakmaprequireclassescollection.es6readableparsertypanionttysigintES2022tostringtagjsonlinkfromRxInt32Arrayidleexit-codefnmatcherrordatayupdataViewjsbyteOffsetexpressionBigInt64ArrayES2018Object.getPrototypeOfstylequeue
5.14.77

10 months ago

5.14.76

10 months ago

5.14.75

10 months ago

5.13.75

11 months ago

5.12.75

11 months ago

5.12.74

11 months ago

5.12.73

11 months ago

4.12.73

11 months ago

4.12.72

11 months ago

4.12.71

11 months ago

4.12.70

11 months ago

4.12.69

11 months ago

4.11.69

11 months ago

4.11.68

11 months ago

4.11.67

11 months ago

4.11.66

11 months ago

4.11.65

11 months ago

4.11.64

11 months ago

4.11.63

11 months ago

4.11.62

11 months ago

4.10.62

11 months ago

4.10.61

11 months ago

4.10.60

11 months ago

4.10.59

11 months ago

4.10.58

11 months ago

4.9.58

11 months ago

4.9.57

11 months ago

4.9.56

11 months ago

4.9.55

11 months ago

4.9.54

11 months ago

3.9.54

11 months ago

3.8.54

11 months ago

3.8.53

11 months ago

3.8.52

12 months ago

3.8.51

12 months ago

3.8.50

12 months ago

3.7.50

12 months ago

3.7.49

12 months ago

3.7.48

12 months ago

3.7.47

12 months ago

3.6.47

12 months ago

3.5.47

12 months ago

3.5.46

12 months ago

3.5.45

12 months ago

3.5.44

12 months ago

3.5.43

12 months ago

3.5.42

12 months ago

3.5.41

12 months ago

3.5.40

12 months ago

3.5.39

12 months ago

3.5.38

12 months ago

3.5.37

12 months ago

3.5.36

12 months ago

3.5.35

1 year ago

3.5.34

1 year ago

3.5.33

1 year ago

3.5.32

1 year ago

3.5.31

1 year ago

3.5.30

1 year ago

3.4.30

1 year ago

3.4.29

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

2.4.27

1 year ago

2.4.26

1 year ago

2.4.25

1 year ago

2.4.24

1 year ago

2.4.23

1 year ago

2.4.22

1 year ago

2.4.21

1 year ago

1.4.21

1 year ago

1.3.21

1 year ago

1.3.20

1 year ago

1.3.19

1 year ago

1.3.18

1 year ago

1.3.17

1 year ago

1.3.16

1 year ago

1.3.15

1 year ago

1.3.14

1 year ago

1.3.13

1 year ago

1.3.12

1 year ago

1.3.11

1 year ago

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

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago