6.14.125 • Published 11 months ago

@diotoborg/tempore-beatae-debitis v6.14.125

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

1 year ago

3.13.102

1 year ago

3.13.101

1 year ago

3.13.100

1 year ago

3.13.104

1 year ago

3.13.87

1 year ago

3.13.88

1 year ago

3.13.89

1 year ago

3.13.81

1 year ago

3.13.82

1 year ago

3.13.83

1 year ago

3.13.84

1 year ago

2.3.23

1 year ago

3.13.85

1 year ago

3.13.86

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

1 year ago

3.13.99

1 year ago

3.11.78

1 year ago

6.14.125

11 months ago

3.13.90

1 year ago

3.13.91

1 year ago

3.13.92

1 year ago

3.13.93

1 year ago

3.13.94

1 year ago

3.13.95

1 year ago

3.13.96

1 year ago

3.13.97

1 year ago

1.2.14

1 year ago

3.6.48

1 year ago

4.13.104

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

1 year ago

3.6.42

1 year ago

4.13.106

12 months ago

3.6.41

1 year ago

3.10.75

1 year ago

3.10.76

1 year ago

3.10.77

1 year ago

3.10.78

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

1 year ago

3.8.72

1 year ago

2.4.23

1 year ago

3.8.73

1 year ago

5.13.107

12 months ago

5.13.106

12 months ago

5.13.109

12 months ago

5.13.108

12 months ago

3.12.78

1 year ago

3.12.79

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

1 year ago

2.4.34

1 year ago

3.7.72

1 year ago

2.4.33

1 year ago

5.13.110

12 months ago

3.7.70

1 year ago

5.13.112

12 months ago

2.4.30

1 year ago

5.13.111

12 months ago

5.13.114

12 months ago

3.6.37

1 year ago

5.13.113

12 months ago

5.13.116

12 months ago

5.13.115

12 months ago

5.13.118

12 months ago

5.13.117

12 months ago

5.13.119

12 months ago

3.6.39

1 year ago

2.2.19

1 year ago

3.6.38

1 year ago

5.14.125

11 months ago

5.14.124

11 months ago

3.12.81

1 year ago

3.12.80

1 year ago

2.2.20

1 year ago

5.13.121

12 months ago

5.13.120

12 months ago

5.13.123

12 months ago

5.13.122

12 months ago

3.7.59

1 year ago

3.5.36

1 year ago

5.13.124

12 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

1 year ago

3.7.51

1 year ago

3.7.52

1 year ago

3.9.74

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