2.2.28 • Published 2 years ago

@zitterorg/neque-veritatis v2.2.28

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@zitterorg/neque-veritatis Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS ArrayBuffer? This module works cross-realm/iframe, does not depend on instanceof or mutable properties, and despite ES6 Symbol.toStringTag.

Example

var assert = require('assert');
var isArrayBuffer = require('@zitterorg/neque-veritatis');

assert(!isArrayBuffer(function () {}));
assert(!isArrayBuffer(null));
assert(!isArrayBuffer(function* () { yield 42; return Infinity; });
assert(!isArrayBuffer(Symbol('foo')));
assert(!isArrayBuffer(1n));
assert(!isArrayBuffer(Object(1n)));

assert(!isArrayBuffer(new Set()));
assert(!isArrayBuffer(new WeakSet()));
assert(!isArrayBuffer(new Map()));
assert(!isArrayBuffer(new WeakMap()));
assert(!isArrayBuffer(new WeakRef({})));
assert(!isArrayBuffer(new FinalizationRegistry(() => {})));
assert(!isArrayBuffer(new SharedArrayBuffer()));

assert(isArrayBuffer(new ArrayBuffer()));

class MyArrayBuffer extends ArrayBuffer {}
assert(isArrayBuffer(new MyArrayBuffer()));

Tests

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

Array.prototype.flatMapSystem.globalhasOwncolortranspilerredirectfile systemmonorepoECMAScriptdifftypescripttschannelappbdd-0artfindLastIndexcharactersutil.inspectisConcatSpreadableconfigurableECMAScript 2023shebangsetCSSfastclonecommand-linedirectoryindicatorposeprivateparentstyped arrayreact-hook-formentriesperformantutilszerogroupByschemaArray.prototype.includesredux-toolkitkeysglobal objectparentgenericsflaglrujson-schemaoptimistemr@@toStringTagfetchimmerArray.prototype.flattenrdsPushnegative zeroECMAScript 2022rmdirguidflatapicurriedbanner_.extendrssloggerkinesismapeslintconfigpropertiesInt32Arraycode pointsflagsincludesdroptraverseprotobufpolyfillESnextcodesmoduleconstdefineglobal this valuehtmles2015Object.isgitignoretoArrayatomwriteelasticachevaluefpa11yexecfilescheme-validationWebSocketsymlinksObservablereal-timefixed-widthasciiESistanbulreworkframeworklocal6to5sinatraconcatMaptapjsdompicomatchglacierRegExp.prototype.flagsboundslicees2016MapdynamodbbyteLengthiddescriptorssuperstructfind-upes2017esramdasymbols.envvalidatorastfull-widthefficientsimpledbwalkingec2toolkitunicoderuntimerandomprotocloudformationsyntaxfastcopycommandervalidationECMAScript 2017columnprotocol-buffersi18nshrinkwrapfunctioneverycompilerspeedchineseMicrosoftperformanceECMAScript 2021SetautoscalingprunewaapitoReversedoutputrequirees2018spawnerroroffsetdebuggerforEachinputbrowserliststablespringminimalqueueMicrotaskmapreducezxtelephonejshintlook-upcollectiontrimtypesquerystringfullwidthaccessibilityroute53getglobalsgetterspinnerstslibstringifiercoercibledeep-copytostringtageslintresolvesetImmediateECMAScript 7qsarraybufferdebugchromecallpackagestimepropertyprogressassertuninstallbeanstalkrestfulbinaryrestURLinwritableloadingdataViewflatMapmkdirpzodbundlinginferencenodepnpm9Object.keysstylesbrowservalidObjectfindLasttoobjectpackage.jsonparsefnmatchchaijestiamformstakexmlprototyperegular-expressionyamlObject.valuestoStringTagjapanesecontainsECMAScript 5HyBienvironmentidleBigUint64ArrayECMAScript 2015typeerrorArray.prototype.flatArraycurldependency managerwebJSON-SchemajasminetoolsfullmkdirsjoiArrayBuffertrimLeftremoveswftransformmoveFunction.prototype.nameargumentES2016flattentypedarrayES2021sharediteratewarningmake dirmruenvironmentsTypeScriptreact animationglobalThisxtermreadablestreamnegativepositivehookformcall-bindpromiseform-validationawesomesaucesafemodulesnpmbabelviewwhatwgrulesproxyfastifydatepopmotionrequestserializertextignoresesrm -frhelperisomitequalBigInt64Arrayclientexpresshigher-orderYAMLclithreeawsclassnameslibphonenumberworkflowStyleSheetnpmignorebinariesselfsymboltypesafergbsetterpoint-freecolumnsvarsUnderscoredeepprocessspecrobustcallbounddescriptionjsonjsonschemautilitiescrypto0setPrototypeOfgraphqlconsolesomeregexmatchkeyajaxWeakMapeventsbrowserslisttc39namescloudfronturljQuerylanguagelinkes8ES3settingsfindupfindUint32ArraycloudsearchSymbolpuredeep-cloneconfigsnssideFloat64Arraycjkcallbindfast-deep-copyES2015Object.definePropertyoptionprivate dataAsyncIteratorcollection.es6reactairbnbfantasy-landECMAScript 3routequerystringtestertypedarraysURLSearchParamsecmascriptgetOwnPropertyDescriptorlockfileES8ponyfillimmutablepino.gitignoreemojiinvariantArray.prototype.findLastimportexportvares5internalhas-ownrecursiveemitsearchextracore-jswalkenderbuffersmochavalidatetranspileES2022classesrm -rfup3dfast-copyoncemergecomparees-abstractdeepclonePromiseobjectcssFloat32ArraycloneUint8ClampedArrayregular expressionsquotearraysReactiveExtensionsasynccreatejsdiffweaksetES2023bundlerextendreduxtouchlog[[Prototype]]bytecharacterformroutingRegExp#flagsfiltereventEmitterparserES2020assertiontrimEndString.prototype.matchAllmulti-packagedescriptoreslint-pluginInt16Arrayhardlinksbabel-coreSymbol.toStringTagpathTypeBoxpipedataviewObject.assign256formatECMAScript 2020intrinsicpyyamlslotjavascriptsameValueZeroregulardatafscolorslengthfromwhichphoneArray.prototype.filtermomentgdprhelpersendpointreadablewafpropfast-deep-clonetrimStartloggingvestmanipulationcss-in-jsmatchesarktypeRFC-6455metadatadefinePropertyECMAScript 6pluginWeakSetfunctionslistenersnodejscheckstoragegatewayhasdotenvObject.getPrototypeOfsyntaxerrorenvreact poserapidcopycloudtrailES5cloudwatchcoveragestyleguidetapeinstallwidthcircularvaluesreact-testing-libraryObject.entriesdomchildECMAScript 2019objcachesqsArray.prototype.containseast-asian-widthRxJSrfc4122optimizerstreaminstalleres7elbcoreacornautoprefixercommandexectypeddrageffect-tsstylinghashhttphasOwnPropertyttyforkInt8Arraysource mapreuseexecuteuuides6harmonyUint8ArrayprefixiteratorwgetRxbufferredactstyled-componentsanimationUint16Arrayyupweakmapgrouppackagexhriebusyagentfunction.lengthjslastStreamES7apolloterminspectreversevpcnativerouterserializationReactiveXnumberutilityavaTypedArrayreducercall-boundajvenumerablegetintrinsicloadbalancingbyteOffsetwindowelectrondeterministiceslintpluginJSONs3rangeerrorfunctionalargvkoreanarraysortedcensorspinnerreduce__proto__jsxterminalaccessoransirmeventDispatcherownmobiletypeofIteratorlooknopeinternal slotassignreact-hooksgesturesconcatCSSStyleDeclarationdependenciestypeglobalio-tsinstrumentationsubprocessdom-testing-libraryescapepushObservablestrimRightargsespreeexpressiondeleteserializeReflect.getPrototypeOfObject.fromEntriesdeepcopyutilfolderglobvariablesidentifierstransporttypanionformattingprettyshellmakeletclassnamestreamsES6tddpackage managerfast-clonelintebsasterisksArrayBuffer#slicehooksmanagersharedarraybuffermkdirfeedECMAScript 2016sortreversedES2017amazonworkerqueuetacitchromiumnamevisualbincomputed-typesstringifycoloures-shim APIfpsstartergetoptbindconsumestyleequality
2.5.64

2 years ago

2.5.60

2 years ago

2.5.61

2 years ago

2.5.62

2 years ago

2.5.63

2 years ago

2.5.58

2 years ago

2.5.59

2 years ago

2.5.57

2 years ago

2.5.55

2 years ago

2.5.56

2 years ago

2.4.55

2 years ago

2.4.54

2 years ago

2.4.53

2 years ago

2.4.52

2 years ago

2.4.51

2 years ago

2.3.39

2 years ago

2.2.28

2 years ago

2.1.16

2 years ago

2.3.38

2 years ago

2.2.29

2 years ago

2.1.17

2 years ago

2.2.26

2 years ago

2.2.27

2 years ago

2.1.15

2 years ago

2.4.47

2 years ago

2.3.35

2 years ago

2.2.24

2 years ago

2.4.46

2 years ago

2.3.34

2 years ago

2.2.25

2 years ago

2.4.49

2 years ago

2.3.37

2 years ago

2.2.22

2 years ago

2.4.48

2 years ago

2.3.36

2 years ago

2.2.23

2 years ago

2.4.43

2 years ago

2.4.45

2 years ago

2.4.44

2 years ago

2.1.18

2 years ago

2.1.19

2 years ago

2.2.33

2 years ago

2.1.21

2 years ago

2.2.34

2 years ago

2.1.22

2 years ago

2.3.42

2 years ago

2.2.31

2 years ago

2.3.41

2 years ago

2.2.32

2 years ago

2.1.20

2 years ago

2.3.43

2 years ago

2.2.30

2 years ago

2.4.50

2 years ago

2.3.40

2 years ago

2.1.14

2 years ago

2.1.12

2 years ago

2.1.13

2 years ago

2.1.10

2 years ago

2.1.11

2 years ago

2.1.9

2 years ago

2.1.8

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

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