2.6.87 • Published 12 months ago

@erboladaiorg/dolorem-harum-accusamus v2.6.87

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

12 months ago

2.6.86

12 months ago

2.6.85

12 months ago

2.6.84

12 months ago

2.6.83

12 months ago

2.5.83

12 months ago

2.5.82

12 months ago

2.5.81

1 year ago

2.5.80

1 year ago

2.5.79

1 year ago

2.5.78

1 year ago

2.5.77

1 year ago

2.5.76

1 year ago

2.5.75

1 year ago

2.5.74

1 year ago

2.5.73

1 year ago

2.5.72

1 year ago

2.5.71

1 year ago

2.5.70

1 year ago

2.4.70

1 year ago

2.4.69

1 year ago

2.4.68

1 year ago

2.4.67

1 year ago

2.4.66

1 year ago

1.4.66

1 year ago

1.4.65

1 year ago

1.4.64

1 year ago

1.4.63

1 year ago

1.4.62

1 year ago

1.4.61

1 year ago

1.4.60

1 year ago

1.4.59

1 year ago

1.4.58

1 year ago

1.4.57

1 year ago

1.4.55

1 year ago

1.4.54

1 year ago

1.4.53

1 year ago

1.4.52

1 year ago

1.4.51

1 year ago

1.4.50

1 year ago

1.4.49

1 year ago

1.4.48

1 year ago

1.4.47

1 year ago

1.4.46

1 year ago

1.4.45

1 year ago

1.4.44

1 year ago

1.4.43

1 year ago

1.4.42

1 year ago

1.4.41

1 year ago

1.4.40

1 year ago

1.4.39

1 year ago

1.4.38

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