1.0.0 • Published 22 days ago

@f1stnpm2/fugiat-accusantium-provident v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
22 days ago

@f1stnpm2/fugiat-accusantium-provident 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('@f1stnpm2/fugiat-accusantium-provident');

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

compilerlesscsstoStringTagnamees2015reducemruinferenceArray.prototype.filtersequencecontainsregexmakehttpUint32ArrayArray.prototype.findLastIndexclonetypeofRxstringmacosttybrowserlistproxy_.extenddayjsECMAScript 2023codesansiECMAScript 2015optimistReflect.getPrototypeOfparentreal-timeec2argumentidnegativeconsumevisualnegative zerowgetsearchunicodedescriptorssetPrototypeOfRFC-6455awsfullgradients cssstyleutilityqueueMicrotaskhotMicrosoftloadbalancinginstallebsprivatesetterArray.prototype.findLastwritablesigtermclass-validatorflagsreact-hook-formPushcolourfindLastdeletees2018sqsautoprefixerprotoReactiveExtensionsparsingroute53buffersortstyled-componentsarraystatefullwidthmatchesECMAScript 2020genericstostringtagmiddlewarehasOwnPropertyconcatMapmodulearraybuffercollectionenvindicatordescription[[Prototype]]ES6call-bindidlePromisecss nestingmovestylesheetflagcreatees-shim APIredux-toolkitjasminewebsetImmediateglacierparentsArrayBuffercommandfunctionalURLSearchParamsshrinkwrapdebuggereslinttraversewriteextension.envinstaller@@toStringTaginprogressperformantcall-boundgroupByweaksetpasswordponyfillStreamdependenciesrandomjsdiffstyleshookformECMAScript 5npm__proto__symbolString.prototype.matchAllwatchingstdlibeventEmitterconsolees2016typedarraycopyvariablescommand-linebrowserArrayFunction.prototype.namenopees-abstractlimitpyyamlshimistakeES2016chromemkdircolumnses8CSSfast-clonewhatwggetOwnPropertyDescriptorclicoreES2015es7256prefixserializationFloat64Arrayfast-deep-cloneforEachfastcopypropertyECMAScript 2019awesomesaucetestinginvariantHyBimimeslotkoreanjsdomweakmapbannerhooksbyteratevariables in cssruntimepersistentsnscolorperformancea11yexit-codestatuslookpolyfillcloudsearchshampositiveES2023quotejsxarraysduplexwarningfastifyshebangwhichbrowserslisttouchclientrm -rfurlownbusytddutil.inspectmkdirsfind-upsymbolsapierrortrimEnddataViewtimeprocesscloudfrontzerokeysconnectSymbol.toStringTagoffsetesless.jsfsendpointvaluefindlinttests3fileartapolloObject.isstylingstringifyformsvpcprototypelessStreamsreusegdprpredictablelimitederror-handlingpiperedactlibphonenumberESnextiamterminalbootstrap lessfixed-widthform-validationhandlersnativepreserve-symlinkstypanioncsses2017postcssflatequalityless compilercss lesstypescriptcurldependency managerupdom-testing-libraryvalidateschemeTypeBoxfastkinesissortedqueueutilsomeschemabluebirdchailogelectronprettyhelperssymlinkssuperstructJSONassignSetassertionESpruneelbswfUint8ClampedArraymomentdefinermrapidpackageES7regexpreadpackage.jsonfindLastIndexregularexecinspectminimalcloudtrailpathi18ncachegraphqleast-asian-widthjestserializeECMAScript 3streamsprotobufnodegetPrototypeOfhasvalidregular expressionlastwordwrapECMAScript 2017formatspecnested css$.extendes-shimsargscss-in-jsbufferscoerciblebootstrap cssuuidObject.valuesObject.assignflattentapchannelbreakString.prototype.trimglobeslintpluginUint8Arraycloudformationrmdirsafebddpreprocessorrequirerestrm -frfilterreactthrottlerecursiveawaitlinewrapecmascriptgroupdiffcompile lessObservablesmonorepoES2018loggingserializerpackagesgetintrinsicRegExp#flagsmixinssigintsyntaxerrorObjectWeakMaptypesafetypesqueryxtermrdsiedescriptorvalueswidthchinesechromiumrequestcharacteramazon-0workflowES2021signalssyntaxemrstreams2callArrayBuffer.prototype.slicetyped arrayprivate datasimpledbpnpm9classnamestatelessstoragegatewaydomequalreduxmapreducecomparesymlinkestreeboundtypedwatchroutertextinternal slotthroatmkdirpjwtsettingsinternalyamlwrapeventssinatraes6trimLeftgetterpatchparseriterationefficientavaECMAScript 2018rfc4122typerobustmochatoArraywaitcloudwatchmergeObject.keyseventDispatchermatchfetchomitpicomatchcircularnameswordbreakIteratorYAMLstructuredClonepushuninstallelmgradients css3WebSocketURLeverydeepcopysharedarktypefast-deep-copyArray.prototype.flattenhigher-orderspeedmimetypesstyleguidehardlinksdotenvlengthimportInt8Arraymime-dbworkspace:*Float32ArrayratelimitcallbackexpressionformattingresolvemapstringifierCSSStyleDeclarationUint16ArrayremoveECMAScript 2016Array.prototype.includesjsonjapanesestarterwindowsArray.prototype.flatnodejsagentbundlingcore-jsECMAScript 2021irqAsyncIteratorclassnamesformfolderiteratorbyteLengthbeanstalkmulti-packageWebSocketslivegetoptjQueryES2020configurableInt16Arrayjseslint-plugininputcryptRxJSreadablestreamES3byteOffsetenumerableObject.fromEntriessameValueZerofunctionstapemodulespackage managerdircharactersfindupreact-testing-libraryimportexportcolumnObject.entrieshasOwncommanderdeeplook-upajaxfile systemArrayBuffer#sliceexpressobjpromisesrestfulreact-hookslinkECMAScript 6Observablecode pointswafmetadatalrustablespinnerslanguageemojionceexitentriesless cssbcryptsidesignalconcurrencytrimRightfromtypedarraysmatchAlldynamodbtoolkitaccessorspinnerES8flatMapshellinterruptsmake dirsetkeytoSortedvestguidBigInt64ArraywalkArray.prototype.containscollection.es6callbindajvbundlerendercensordatastructuretermautoscalingtelephoneES2019ECMAScript 2022deepclonepluginairbnbArray.prototype.flatMapoperating-systemlazyfpsprotocol-buffers0rangeerrorobjectBigUint64ArraylinuxencryptionstreamworkerwalkinghashextendtrimStartimmutableqsappassertsasyncES5yupescapesesargvcallboundtslibcryptodebugkarmal10nscheme-validationtoobjectsliceutilitiesfseventselasticachecheckmobilecss variablepostcss-pluginreadablecomputed-typestoolslistenerstypeerror
1.0.0

22 days ago