2.6.87 • Published 10 months ago

@erboladaiorg/dolorem-harum-accusamus v2.6.87

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

@erboladaiorg/dolorem-harum-accusamus 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/dolorem-harum-accusamus');
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

fetchargsfnmatchstylekeycompile lesspreserve-symlinksreusefile systemless.jsrequirebannerzxsyntaxerrorFunction.prototype.namesymlinkbootstrap lesswritableRxcreatesettingswriteuuidcolorES2019urlcss variableHyBixtermautoscalingopensslintrimJSON-SchemaStyleSheetlink6to5i18nreact-componentec2private dataArray.prototype.findLastIndexregexminimalschemearraysreact-hookstostringtagjapaneseasterisksforkfast-clonedependenciespoint-freeobjecttoReversedbindfunctionbyteOffsetcachereduxeventDispatcherhelpersbyteLengthjsonschemacryptopropertiesArraysetterES2022pinofunction.lengthObservablescloudtrailbyteYAMLprogressswfcharacteres-shimsletpruneexecvisualagentenvironmentprototypeCSSmapreduceSymbol.toStringTagstatelesspostcss-pluginformattingES7propextraerror-handlingisConcatSpreadablehookscloudwatchRegExp.prototype.flagsURLreact animationmakestylesheetTypedArraysuperstructfindLastIndexinternaluser-streamszerostreamdeepclonehelperemrtrimLeftworkflowelbjsdifftyped arrayFloat64ArrayrulesglacierconfigurablecolumnassertsclassnamedescriptionpatchObject.assignlesscssproxyshebanggenericsbddserializerMaplastsetpromiseless cssjQuerytestervalidationmatchAllrfc9562Streamsnativegradients cssdeleteStreamastSystem.globalquerystringtypedarrayhandlers.envvarvariables in cssajaxCSSStyleDeclarationES6cloudfrontclassesbrowserlistgroupObject.definePropertyemitreadablestreamforEacheslintpluginreversedprivatecolourargvUint8ClampedArraysequenceenvloadbalancingpreprocessorObject.keysjson-schema-validatorcallbackstateboundinspectSetreverseoptionimmerglobArray.prototype.flattenchrometslibaccessibilityfpssidevalidatorendpointgetperformanttypesaferecursivePushserializationes2018exitcoreidleescapevieweslint-pluginshrinkwrapslicesomeobjdeterministicequalmomentslotglobaldropajverrorfantasy-landArray.prototype.includesjsstringifierutilitieslanguagestoragegatewayvarsasserteventEmitterES3bundlingjoiES2020deep-clonetimejsonaccessors3concatMaptermprotocol-bufferscircularbcryptutilsdayjsgetoptmobiletelephoneredux-toolkitObject.fromEntriesfilter
2.6.87

10 months ago

2.6.86

10 months ago

2.6.85

10 months ago

2.6.84

11 months ago

2.6.83

11 months ago

2.5.83

11 months ago

2.5.82

11 months ago

2.5.81

11 months ago

2.5.80

11 months ago

2.5.79

11 months ago

2.5.78

11 months ago

2.5.77

11 months ago

2.5.76

11 months ago

2.5.75

11 months ago

2.5.74

11 months ago

2.5.73

11 months ago

2.5.72

11 months ago

2.5.71

11 months ago

2.5.70

11 months ago

2.4.70

11 months ago

2.4.69

11 months ago

2.4.68

11 months ago

2.4.67

11 months ago

2.4.66

11 months ago

1.4.66

11 months ago

1.4.65

11 months ago

1.4.64

11 months ago

1.4.63

11 months ago

1.4.62

11 months ago

1.4.61

11 months ago

1.4.60

11 months ago

1.4.59

11 months ago

1.4.58

11 months ago

1.4.57

12 months ago

1.4.55

12 months ago

1.4.54

12 months ago

1.4.53

12 months ago

1.4.52

12 months ago

1.4.51

12 months ago

1.4.50

12 months ago

1.4.49

12 months ago

1.4.48

12 months ago

1.4.47

12 months ago

1.4.46

12 months ago

1.4.45

12 months ago

1.4.44

12 months ago

1.4.43

12 months ago

1.4.42

12 months ago

1.4.41

12 months ago

1.4.40

12 months ago

1.4.39

12 months ago

1.4.38

12 months ago

1.4.37

1 year ago

1.4.36

1 year ago

1.4.35

1 year ago

1.4.34

1 year ago

1.4.33

1 year ago

1.4.32

1 year ago

1.4.31

1 year ago

1.4.30

1 year ago

1.4.29

1 year ago

1.4.28

1 year ago

1.4.27

1 year ago

1.4.26

1 year ago

1.4.25

1 year ago

1.3.25

1 year ago

1.3.24

1 year ago

1.3.23

1 year ago

1.3.22

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

1 year ago

1.3.9

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.1.4

1 year ago

1.1.3

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