5.14.77 • Published 12 months ago

@erboladaiorg/eum-ipsum-voluptatem v5.14.77

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

12 months ago

5.14.76

12 months ago

5.14.75

12 months ago

5.13.75

12 months ago

5.12.75

1 year ago

5.12.74

1 year ago

5.12.73

1 year ago

4.12.73

1 year ago

4.12.72

1 year ago

4.12.71

1 year ago

4.12.70

1 year ago

4.12.69

1 year ago

4.11.69

1 year ago

4.11.68

1 year ago

4.11.67

1 year ago

4.11.66

1 year ago

4.11.65

1 year ago

4.11.64

1 year ago

4.11.63

1 year ago

4.11.62

1 year ago

4.10.62

1 year ago

4.10.61

1 year ago

4.10.60

1 year ago

4.10.59

1 year ago

4.10.58

1 year ago

4.9.58

1 year ago

4.9.57

1 year ago

4.9.56

1 year ago

4.9.55

1 year ago

4.9.54

1 year ago

3.9.54

1 year ago

3.8.54

1 year ago

3.8.53

1 year ago

3.8.52

1 year ago

3.8.51

1 year ago

3.8.50

1 year ago

3.7.50

1 year ago

3.7.49

1 year ago

3.7.48

1 year ago

3.7.47

1 year ago

3.6.47

1 year ago

3.5.47

1 year ago

3.5.46

1 year ago

3.5.45

1 year ago

3.5.44

1 year ago

3.5.43

1 year ago

3.5.42

1 year ago

3.5.41

1 year ago

3.5.40

1 year ago

3.5.39

1 year ago

3.5.38

1 year ago

3.5.37

1 year ago

3.5.36

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