6.14.125 • Published 1 year ago

@diotoborg/tempore-beatae-debitis v6.14.125

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

2 years ago

3.13.85

1 year ago

3.13.86

1 year ago

2.3.20

2 years ago

2.3.22

2 years ago

2.3.21

2 years ago

3.7.49

2 years ago

3.13.98

1 year ago

3.13.99

1 year ago

3.11.78

1 year ago

6.14.125

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

2 years ago

3.6.48

2 years ago

4.13.104

1 year ago

3.6.47

2 years ago

3.6.46

2 years ago

3.6.45

2 years ago

3.6.44

2 years ago

3.6.43

2 years ago

4.13.105

1 year ago

3.6.42

2 years ago

4.13.106

1 year ago

3.6.41

2 years 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

2 years ago

3.6.40

2 years ago

2.4.29

2 years ago

2.4.28

2 years ago

2.4.25

2 years ago

2.4.24

2 years ago

2.4.27

2 years ago

2.4.26

2 years ago

3.8.74

1 year ago

3.8.72

1 year ago

2.4.23

2 years ago

3.8.73

1 year ago

5.13.107

1 year ago

5.13.106

1 year ago

5.13.109

1 year ago

5.13.108

1 year ago

3.12.78

1 year ago

3.12.79

1 year ago

2.2.17

2 years ago

2.2.18

2 years ago

2.2.15

2 years ago

2.2.16

2 years ago

2.4.35

2 years ago

2.2.14

2 years ago

2.4.32

2 years ago

2.4.31

2 years ago

3.7.71

1 year ago

2.4.34

2 years ago

3.7.72

1 year ago

2.4.33

2 years ago

5.13.110

1 year ago

3.7.70

1 year ago

5.13.112

1 year ago

2.4.30

2 years ago

5.13.111

1 year ago

5.13.114

1 year ago

3.6.37

2 years ago

5.13.113

1 year ago

5.13.116

1 year ago

5.13.115

1 year ago

5.13.118

1 year ago

5.13.117

1 year ago

5.13.119

1 year ago

3.6.39

2 years ago

2.2.19

2 years ago

3.6.38

2 years ago

5.14.125

1 year ago

5.14.124

1 year ago

3.12.81

1 year ago

3.12.80

1 year ago

2.2.20

2 years ago

5.13.121

1 year ago

5.13.120

1 year ago

5.13.123

1 year ago

5.13.122

1 year ago

3.7.59

2 years ago

3.5.36

2 years ago

5.13.124

1 year ago

3.5.35

2 years ago

3.7.57

2 years ago

3.7.58

2 years ago

3.7.55

2 years ago

3.7.56

2 years ago

3.7.53

2 years ago

3.7.54

2 years ago

3.5.37

2 years ago

3.9.75

1 year ago

3.7.51

2 years ago

3.7.52

2 years ago

3.9.74

1 year ago

3.7.50

2 years 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

2 years ago

1.2.13

2 years ago

1.2.9

2 years ago

1.2.12

2 years ago

1.2.10

2 years ago

1.2.11

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.1.3

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