9.14.145 • Published 1 year ago

@firanorg/voluptate-perspiciatis-placeat v9.14.145

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@firanorg/voluptate-perspiciatis-placeat 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('@firanorg/voluptate-perspiciatis-placeat');
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

guidArray.prototype.findLastwhichsafefindLaststreamproxysignalsbyteLengthHyBicodesfull-widthtestingenderformatdateecmascriptpreserve-symlinksWeakSetconcatMapstyled-componentsreducerflattenCSSreactsameValueZerowritesymbolwalkingflagseventDispatchershrinkwrapdeletecss lessparserES2017packagees2015Objectelbcensorrgbregular expressionwatchFilerecursiveobjTypeBoxtypeofregulares6requirefast-deep-copywindowsjQueryreadablereact-testing-libraryindicatorloadbalancingxhrformsdirargumentfastquerystringassertioncollectioncommand-linewordwrapMapjapanesedatastringifiergenericscheckless.jscall-bindUint8ClampedArraycompile lesshas-ownconfigtrimwalklimitedtrimLeftreadrouteyamltouchpathansipostcsswatchingflatmomentassertstoArrayprivatehotstdlibformattingjavascripttslibunicodegetPrototypeOfserializationprotobufhelperscollection.es6rm -rfReflect.getPrototypeOftoolkitcsseventsstylingArrayBuffer#slicefindLastIndexincludeserroreventEmitterwhatwgsortedpostcss-pluginttyArray.prototype.flatMapbluebirdjestWebSocketsgetOwnPropertyDescriptortrimStartappECMAScript 2020koreanreplaypushBigUint64ArraytraverseWeakMapdescriptorsfindnumberendpointsinatrasyntaxbyteOffsetentriesintrinsicqueuechromefpsArray.prototype.filtercommanders3trimEndprivate databreakreusetoobjectnpmsetImmediateexitSymbolschemebrowserslisttypanionruntimeimmutablefind-uprestphoneprototypeiteratorwgetlanguagedefinehasOwnPropertyterminalmkdiroutputqueryObject.fromEntriesfullwidthdatastructureoptimistvalidatechannelrapidcoresignalUint8Arrayjsonpathimporttypedsuperagentbootstrap cssPushcacheoffsetECMAScript 2022waitfigletJSON-Schemacore-jsrmrobustinputinstalleroptionargparsepatchFloat64ArrayvaluesinferencelivetoSortedbddtypeswidthparentbeanstalkspeeda11yreact-hooksvpcmkdirsautoprefixersqslookcoercibletimeinparseiterateES5testerRegExp.prototype.flagsvaluereadablestreamES2016es-shim APIcommandgradients csshigher-ordernativei18nsequenceio-tsloggingdescriptionreducecloudformationajvdynamodbutilitydeepclonegetoptregexpbundlingclass-validatorvariablesbusyInt16ArrayreduxArrayBufferartless compilershebangremoveextendArrayBuffer.prototype.sliceECMAScript 2015estreeBigInt64Arraystylesheetdependency managerencryptionfunctionduplextc39requestpyyamlcreatebootstrap lesssimpledbECMAScript 5look-upjsdiffsomepredictablefilterhttpsfastcloneURLSearchParamseslintconfigscheme-validationec2avacharactersettingsdeep-clonetoolsbytebatchclassnames[[Prototype]]ES2023Symbol.toStringTagrestfulcolumnresolveenvironmentagentfast-cloneforEachtyped arrayawschineseebscryptoArray.prototype.includesgetmulti-packageautoscalingsidesortUint32Arrayes2016httpirqpasswordweaksetmatchesES6compileridleES3ES2021__proto__TypedArrayhashcharacterscontainsbrowsereslintpluginviewconfigurabletddelectronfast-deep-clonepackage.jsonlinuxsymlinksdropisinternalyupObject.isYAMLrouterTypeScriptdeepcopydirectorymovehookssigtermstarterpropertyassignmatchclassnameelmfiletypeerrorstatelessjsJSONform_.extendstreamssesserializeparentsparsingredux-toolkitpicomatchauthstyleguideES7rfc4122iterationObject.getPrototypeOfemitzodStreamsSetlinkownisConcatSpreadableredactcjkkinesisoptimizerFloat32Arraycall-boundeslintthroatsuperstructcorsidUint16Arraylockfilecryptmapsymbolsstringifyes2018l10nswfpackageslistenersmimeshimESfunctionaltakeprettyes-shimsbcryptstyleseturlString.prototype.matchAllflagECMAScript 2017error-handlingnegativewatchpolyfilllessasyncregexArray.prototype.flattenstatustostringtagRegExp#flagsenumerablekeysjsonpropflatMapgdprbanner256file systemUnderscoretypescriptInt8Arraybindlengthcopynested cssrangeerrorconcathasRFC-6455css-in-jswordbreakfixed-widthpruneupeveryemrarraybufferECMAScript 7-0ECMAScript 2018callboundsiginthardlinkscircularRxECMAScript 2016awaitwraploadinguuidcomparerateWebSocketclassestelephoneexecthrottlediffreact-hook-form0cloudwatchcolorschaifunctionsStyleSheetpositiveaccessibilitystreams2typedarraytsprocessmkdirpasciifastifycolumnsmobilees8lesscssequalitypiperm -frfseventsqseast-asian-widthmergeaccessortypedarraysauthenticationajaxtapelasticachepreprocessores-abstractlintes5Object.definePropertyES2015MicrosoftwebzeropersistentratelimitinvariantFunction.prototype.namereal-timewatchersnsconcurrencyworkersetPrototypeOfspinnershasOwnchromiumomitarraysplugintoStringTagObservablesAsyncIteratorES2022arktypesymlinkcurllinewrapdebugdebuggerdependenciesjwtcss variablecliexpressdotenvES2020deepargswarningeslint-plugincloudsearchutilutil.inspectmakecss nestingpnpm9estypesharedkarmafindupdeep-copyroute53es7mochagettergroupBysetterArray.prototype.containsString.prototype.trimgetintrinsicstateobjectxtermECMAScript 2023propertieswritablelimitinstalltapedom-testing-libraryefficientmrulogES2019make dirStreamminimalrdsdescriptoronceargvprotoregular expressionsjsx@@toStringTagnamesslotstable
9.14.145

1 year ago

9.14.144

1 year ago

9.14.143

1 year ago

9.13.142

1 year ago

9.13.143

1 year ago

9.13.140

1 year ago

9.13.141

1 year ago

9.13.139

1 year ago

9.13.135

1 year ago

9.13.136

1 year ago

9.13.137

1 year ago

9.13.138

1 year ago

9.13.131

2 years ago

9.13.132

2 years ago

9.13.133

1 year ago

9.13.134

1 year ago

9.13.130

2 years ago

9.13.128

2 years ago

9.13.129

2 years ago

9.13.126

2 years ago

9.13.127

2 years ago

8.13.126

2 years ago

8.13.125

2 years ago

8.12.125

2 years ago

8.12.124

2 years ago

8.12.123

2 years ago

8.11.122

2 years ago

8.11.121

2 years ago

8.11.123

2 years ago

8.11.120

2 years ago

8.10.118

2 years ago

8.11.119

2 years ago

8.10.119

2 years ago

8.10.117

2 years ago

8.10.116

2 years ago

8.10.115

2 years ago

8.10.112

2 years ago

8.10.113

2 years ago

8.10.114

2 years ago

8.10.111

2 years ago

8.10.109

2 years ago

8.10.110

2 years ago

8.10.108

2 years ago

8.10.107

2 years ago

8.10.106

2 years ago

8.9.106

2 years ago

8.9.105

2 years ago

8.9.104

2 years ago

8.9.103

2 years ago

8.9.102

2 years ago

8.9.101

2 years ago

7.5.73

2 years ago

7.5.74

2 years ago

8.9.99

2 years ago

8.9.98

2 years ago

7.3.63

2 years ago

6.3.63

2 years ago

4.1.20

2 years ago

4.1.21

2 years ago

4.1.22

2 years ago

6.3.61

2 years ago

7.3.64

2 years ago

6.3.62

2 years ago

6.3.60

2 years ago

4.1.27

2 years ago

4.1.28

2 years ago

4.1.29

2 years ago

4.1.23

2 years ago

4.1.24

2 years ago

4.1.25

2 years ago

4.1.26

2 years ago

6.2.40

2 years ago

7.8.89

2 years ago

7.8.88

2 years ago

2.1.18

2 years ago

2.1.19

2 years ago

4.2.29

2 years ago

2.1.20

2 years ago

5.2.31

2 years ago

5.2.30

2 years ago

6.2.39

2 years ago

6.2.37

2 years ago

6.2.38

2 years ago

7.8.93

2 years ago

7.8.92

2 years ago

7.8.91

2 years ago

7.8.90

2 years ago

7.8.97

2 years ago

6.2.31

2 years ago

7.8.96

2 years ago

6.2.32

2 years ago

7.8.95

2 years ago

7.8.94

2 years ago

7.6.77

2 years ago

6.2.35

2 years ago

8.9.100

2 years ago

7.6.76

2 years ago

6.2.36

2 years ago

7.6.75

2 years ago

6.2.33

2 years ago

7.8.98

2 years ago

7.6.74

2 years ago

6.2.34

2 years ago

7.6.79

2 years ago

7.6.78

2 years ago

7.6.80

2 years ago

7.6.83

2 years ago

7.6.82

2 years ago

7.6.81

2 years ago

7.4.64

2 years ago

7.4.69

2 years ago

7.4.65

2 years ago

7.4.66

2 years ago

7.4.67

2 years ago

7.4.68

2 years ago

7.4.72

2 years ago

7.4.73

2 years ago

7.4.70

2 years ago

7.4.71

2 years ago

3.1.20

2 years ago

4.2.30

2 years ago

6.3.54

2 years ago

7.9.98

2 years ago

6.3.55

2 years ago

6.3.52

2 years ago

6.3.53

2 years ago

6.3.58

2 years ago

6.3.59

2 years ago

6.3.56

2 years ago

6.3.57

2 years ago

6.3.50

2 years ago

6.3.51

2 years ago

6.3.49

2 years ago

7.7.85

2 years ago

6.3.43

2 years ago

7.7.84

2 years ago

6.3.44

2 years ago

7.7.83

2 years ago

6.3.41

2 years ago

6.3.42

2 years ago

6.3.47

2 years ago

7.7.88

2 years ago

6.3.48

2 years ago

7.7.87

2 years ago

6.3.45

2 years ago

7.7.86

2 years ago

6.3.46

2 years ago

6.3.40

2 years ago

2.1.17

2 years ago

2.1.16

2 years ago

2.1.14

2 years ago

2.1.15

2 years ago

2.1.13

2 years ago

2.1.12

2 years ago

2.1.11

2 years ago

2.1.10

2 years ago

2.1.9

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.0.5

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago