6.14.125 • Published 10 months ago

@diotoborg/tempore-beatae-debitis v6.14.125

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

@diotoborg/tempore-beatae-debitis Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Which kind of Typed Array is this JavaScript value? Works cross-realm, without instanceof, and despite Symbol.toStringTag.

Example

var whichTypedArray = require('@diotoborg/tempore-beatae-debitis');
var assert = require('assert');

assert.equal(false, whichTypedArray(undefined));
assert.equal(false, whichTypedArray(null));
assert.equal(false, whichTypedArray(false));
assert.equal(false, whichTypedArray(true));
assert.equal(false, whichTypedArray([]));
assert.equal(false, whichTypedArray({}));
assert.equal(false, whichTypedArray(/a/g));
assert.equal(false, whichTypedArray(new RegExp('a', 'g')));
assert.equal(false, whichTypedArray(new Date()));
assert.equal(false, whichTypedArray(42));
assert.equal(false, whichTypedArray(NaN));
assert.equal(false, whichTypedArray(Infinity));
assert.equal(false, whichTypedArray(new Number(42)));
assert.equal(false, whichTypedArray('foo'));
assert.equal(false, whichTypedArray(Object('foo')));
assert.equal(false, whichTypedArray(function () {}));
assert.equal(false, whichTypedArray(function* () {}));
assert.equal(false, whichTypedArray(x => x * x));
assert.equal(false, whichTypedArray([]));

assert.equal('Int8Array', whichTypedArray(new Int8Array()));
assert.equal('Uint8Array', whichTypedArray(new Uint8Array()));
assert.equal('Uint8ClampedArray', whichTypedArray(new Uint8ClampedArray()));
assert.equal('Int16Array', whichTypedArray(new Int16Array()));
assert.equal('Uint16Array', whichTypedArray(new Uint16Array()));
assert.equal('Int32Array', whichTypedArray(new Int32Array()));
assert.equal('Uint32Array', whichTypedArray(new Uint32Array()));
assert.equal('Float32Array', whichTypedArray(new Float32Array()));
assert.equal('Float64Array', whichTypedArray(new Float64Array()));
assert.equal('BigInt64Array', whichTypedArray(new BigInt64Array()));
assert.equal('BigUint64Array', whichTypedArray(new BigUint64Array()));

Tests

Simply clone the repo, npm install, and run npm test

reusefsreduceryaml__proto__RxJSspeedwgetsortnpmjoiajaxdescriptionparserglobalreduceamazontoSorteddeepregularYAMLequalityvestfast-deep-cloneeditorstatelesscommanderes8walkformsObjecticonvTypedArrayconsumekoreanHyBirmdirterminalObject.fromEntriescallboundfastcloneString.prototype.trimsymlinkinternalWeakSetObject.definePropertyawsfindupminimalquotedomschemereduxlinewrapextensionReflect.getPrototypeOfpersistentreact-testing-librarycloudformationfile systemECMAScript 3espreerapidshebangcommandlanguagedom-testing-libraryPromiselastES3dataview0react animationasyncECMAScript 5bddObject.valueses-shimstaskwalkingparsingmimeenumerablejshinthelperMicrosoftfunctionpolyfillrgbtypeerrormimetypesconvertsnsreadablestreamprotounicodeestreeelasticacheglobalsfindLastIndexidES5sharedpopmotiondeepclonesesthreesettingsdynamodbMaptoobjectmkdirpwidthoffsetutilityworkflowBigUint64ArrayRegExp#flagsnopeshamdebuggerhardlinkselectronReactiveXfromES2023argumentmatchAllansilocationprotocol-buffersmonorepolookstyled-componentsString.prototype.matchAllloggeres2017ECMAScript 2018argparseisConcatSpreadablebundlercryptoinvariantwhichgettertapregular expressionshooksdatastructuredeleteinstalldefinePropertyObject.entriespyyamlmkdirhasrequirejssetImmediatehttpsArray.prototype.flattenArray.prototype.filterindicatorextendconfigurabletesterregexpswfcreatestoragegatewayvariablesreal-timeanimationes-abstractarraysiterationjQuerycloudfrontPushstringifiersetPrototypeOflistenersshimsequencesyntaxerrorpnpm9call-bindnamessafearrayenvwaapiformpicomatchtypedarrayssqschromiummruutilitiesloggingregular expressionruntimeexefindES7Array.prototype.findLastcoloropenerArrayBuffer#slicequeueMicrotasktddkeysjapanesestreamstypescriptchinesecharseteslintconfigajvtypedsuperstructrangeerrorUnderscorehelpersguidreact poseurlsmkdirsartimmutableidlelaunchhasOwnPropertyfast-deep-copyopenspackage.jsonfullobjStyleSheetdependency managerconcatcjkttyremoveES2021symbolsperformanteveryendermochacomparestringwafcliES2017escapebufferprotobuftimeES2018configfast-copydatanegative zeroECMAScript 2020expressionECMAScript 2021libphonenumbercode pointsWebSocketcharacterswarningwordbreakpackage managertc39codesECMAScript 6performanceObservableCSSStyleDeclarationflagsgetfixed-widthequalcommand-linecolumnprefixes2015bundlingvalidationwhatwgupelbsymbolobjectcmdawaitdeterministicebsredirectmatchdeepcopyqueryefficientprocessspecopengetOwnPropertyDescriptorcacheenvironmentxtermprototypeemrcall-boundfastifyESnexttoolkitimportexporttypanioncloneWebSocketsclass-validator@@toStringTagimmerapimulti-packagewritethroatES2022trimLeftStreamloadingemitstyleguidecharacterastfoldercircularcontainstslibdescriptorspreserve-symlinksURLSearchParamstoArrayqueuefileomittoolsbrowserlistautoscalingrecursives3l10nexecargumentsprettystreamES2016ES8iteratespawngroupByInt16ArraybeanstalksharedarraybufferlimitedarktypeyupinstallerchromeflatquerystringInt8ArrayairbnbpropertieshttpArrayvaluesstreams2uuiddependenciesagentnamehookformURLObject.assignmodulesexpresschannelassertsdebugthrottledirectoryentriescloudtrailsortedtextoncebrowserslistObject.keysparsewritablejavascriptispropertydatepropfunctionaljsoncoerciblelockfileoptimizerfullwidthcolumnstraversevalueweaksetapolloviewmatchestrimEndmetadataassertRegExp.prototype.flagsa11yhashmake dir$.extendES2019apppushstructuredClonediffemojiaccessibilitytypesafeFloat64ArrayglacierlintES2020ecmascripteventEmitterjasmineAsyncIteratorbyteLengthrobustoptimistmapreducefind-uphigher-orderposeaccessorECMAScript 7negativeintrinsici18ndotenvtypeESprogresscurltouchspinner_.extendeast-asian-widthes-shim APIwaitreact-hook-formsameValueZerodataViewgroupObject.getPrototypeOfboundpipekinesismobilecloudsearchfastforEachcollection.es6full-widthfiltermakefetchcssresolvesimpledbECMAScript 2017stylesObservablesconcatMappackagestapecomputed-typeslook-upeventDispatcherdescriptorJSONstringifygloburldeep-cloneserializerstartpostcss-pluginlrurfc4122WeakMapslicerequestECMAScript 2015superagentregexenvironmentssettercopypromisesowncallroutedayjsinternal slotwordwrapxdg-openvalidtakevpclogscheme-validationeventsspringtrimcss-in-jspositivetrimRightlazyroute53rm -rfcloudwatchfigletcallbackec2breakSetframework-0react-hooksidentifiersbluebirdratelimitphonetsgraphqlmerge
3.13.103

11 months ago

3.13.102

11 months ago

3.13.101

11 months ago

3.13.100

11 months ago

3.13.104

11 months ago

3.13.87

11 months ago

3.13.88

11 months ago

3.13.89

11 months ago

3.13.81

12 months ago

3.13.82

12 months ago

3.13.83

12 months ago

3.13.84

11 months ago

2.3.23

1 year ago

3.13.85

11 months ago

3.13.86

11 months ago

2.3.20

1 year ago

2.3.22

1 year ago

2.3.21

1 year ago

3.7.49

1 year ago

3.13.98

11 months ago

3.13.99

11 months ago

3.11.78

12 months ago

6.14.125

10 months ago

3.13.90

11 months ago

3.13.91

11 months ago

3.13.92

11 months ago

3.13.93

11 months ago

3.13.94

11 months ago

3.13.95

11 months ago

3.13.96

11 months ago

3.13.97

11 months ago

1.2.14

1 year ago

3.6.48

1 year ago

4.13.104

11 months ago

3.6.47

1 year ago

3.6.46

1 year ago

3.6.45

1 year ago

3.6.44

1 year ago

3.6.43

1 year ago

4.13.105

11 months ago

3.6.42

1 year ago

4.13.106

11 months ago

3.6.41

1 year ago

3.10.75

12 months ago

3.10.76

12 months ago

3.10.77

12 months ago

3.10.78

12 months ago

3.6.49

1 year ago

3.6.40

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

2.4.25

1 year ago

2.4.24

1 year ago

2.4.27

1 year ago

2.4.26

1 year ago

3.8.74

12 months ago

3.8.72

12 months ago

2.4.23

1 year ago

3.8.73

12 months ago

5.13.107

11 months ago

5.13.106

11 months ago

5.13.109

11 months ago

5.13.108

11 months ago

3.12.78

12 months ago

3.12.79

12 months ago

2.2.17

1 year ago

2.2.18

1 year ago

2.2.15

1 year ago

2.2.16

1 year ago

2.4.35

1 year ago

2.2.14

1 year ago

2.4.32

1 year ago

2.4.31

1 year ago

3.7.71

12 months ago

2.4.34

1 year ago

3.7.72

12 months ago

2.4.33

1 year ago

5.13.110

11 months ago

3.7.70

12 months ago

5.13.112

10 months ago

2.4.30

1 year ago

5.13.111

11 months ago

5.13.114

10 months ago

3.6.37

1 year ago

5.13.113

10 months ago

5.13.116

10 months ago

5.13.115

10 months ago

5.13.118

10 months ago

5.13.117

10 months ago

5.13.119

10 months ago

3.6.39

1 year ago

2.2.19

1 year ago

3.6.38

1 year ago

5.14.125

10 months ago

5.14.124

10 months ago

3.12.81

12 months ago

3.12.80

12 months ago

2.2.20

1 year ago

5.13.121

10 months ago

5.13.120

10 months ago

5.13.123

10 months ago

5.13.122

10 months ago

3.7.59

1 year ago

3.5.36

1 year ago

5.13.124

10 months ago

3.5.35

1 year ago

3.7.57

1 year ago

3.7.58

1 year ago

3.7.55

1 year ago

3.7.56

1 year ago

3.7.53

1 year ago

3.7.54

1 year ago

3.5.37

1 year ago

3.9.75

12 months ago

3.7.51

1 year ago

3.7.52

1 year ago

3.9.74

12 months ago

3.7.50

1 year ago

3.7.68

1 year ago

3.7.69

1 year ago

3.7.66

1 year ago

3.7.67

1 year ago

3.7.64

1 year ago

3.7.65

1 year ago

3.7.62

1 year ago

3.7.63

1 year ago

3.7.60

1 year ago

3.7.61

1 year ago

2.5.35

1 year ago

1.2.13

1 year ago

1.2.9

1 year ago

1.2.12

1 year ago

1.2.10

1 year ago

1.2.11

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

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