1.0.4 • Published 14 days ago

@teamteanpm2024/similique-possimus-possimus v1.0.4

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

@teamteanpm2024/similique-possimus-possimus 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('@teamteanpm2024/similique-possimus-possimus');

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

passwordrapidscheme-validationTypeBoxexpressioncorsECMAScript 3springletremovetc39ES3WeakMapbyteLengthRxtestingmatchAllstyled-componentsvalidhookskarmaframerinstalltestartpolyfilllibphonenumbercollection.es6styleguideObject.definePropertyurl256regular expressionsponyfillapolloObjectuninstallObject.entriesfastclonetaskURLoutputsymbolappreusemiddlewareFloat32Arraymrui18nslotpostcssjwtshebangECMAScript 5dependency managerpropertiesCSSstreamflatstatelessECMAScript 7linewrapObservableopenerArray.prototype.filterparsermimetypesrobuststartFunction.prototype.nameformsconstshamcss-in-jsindicatorspeedgroupByspawnjestnested csscryptohttpswhatwgsearchbrowserlistcallhandlersarraydataViewreact-hook-formpromisesRegExp#flagsformattingUint16Arrayharmonyvarinternaldebug-0querymoduleslogjoibreakiteratores-shimsrgbpostcss-pluginsigtermcurlstringifierjson-schema-validationinputsymbolsECMAScript 2022YAMLajvformatargumentsworkspace:*terminalextratrimEndtextequalwalkinglimitedredactexit-codepicomatchfunctionspackage managerString.prototype.matchAlltrimLeftnumberWebSocketstranspileextensionanimationjson-schemaSymbolArrayBuffer#slicepersistentbusymime-dbuser-streamscode pointsArray.prototype.flatMapstyle_.extendpatchconnectvestcmdsafeansidiffclientconcatMapjsonpathinstallersliceemitES2020jsdiffconsumesideBigUint64Arraywatchervariables in cssflatteninferencereact posefilereducerprivate datagetenvreal-timeexitimmersymlinkentrieslook-upstructuredCloneunicodeconcurrencyserializationCSSStyleDeclarationcomparehookformnativefasttypedcurriedInt16ArraycopyargparsetypaniondatastructurespectoSortedObject.fromEntriesweaksethasOwneditoreventsgetOwnPropertyDescriptorbundlingESparseaccessorschemawalkprotocolumnsobjperformancearraybufferdebuggerjsonrateboundclassesexecajaxURLSearchParamsposeArray.prototype.flatiedeepfast-deep-clonegradients css36to5waittraverseoncevalueframeworkBigInt64ArrayprogressbrowsersyntaxerrorforEachcontainsqscircularwrappromisefsfullpropmobilemake dirextendapiES2023mimelooknpmcharactersdatebrowserslistshellfoldercryptMicrosoftcoercibleregexcjkless cssawesomesaucecallbackES7jasminebufferses2016Array.prototype.findLastgraphqlcloneECMAScript 2019negativefastcopyWeakSetmkdirspinnerwordwraphelpersbabelhigher-orderes2015zodmetadatasetImmediateassertionchinesecodesthrottlecompile lessxhrtrimStartzerotslibrfc4122redux-toolkituuidincludesInt8ArrayiterateprotobufcompilerES8colorphonedescriptionregular expressionWebSocketcallbounddeep-copyfixed-widthES2022keysECMAScript 2017Array.prototype.findLastIndexbddclass-validatormakermdominterruptsnodejQuerynopeencryptiondeep-clonecollectionexecutablecomputed-typesReactiveExtensionsjson-schema-validatortoolkitgetintrinsicassertbyteOffsetavafunctionclassnamesprefixES2021Symbol.toStringTagprotocol-bufferspackage.jsoncensorstylestostringtagweakmapcall-bindratelimitconfigurable.envpositivegroupdependenciespopmotion@@toStringTagurlsvalidationprivatewatchFileimportJSON-Schemasomecommand-linestringkeymapSetPushbootstrap cssquotegetterstreams2ECMAScript 6sortrequireestreethreequerystringfile systemwarninges-abstractserializer3dcssvalidatorInt32ArrayReactiveXObject.valueslockfilegradients cssutil.inspectString.prototype.trimdeletedeepclonecreatemochaarrayssuperstructairbnblinuxstreamses8typedarrayshttppipeconsolecss lessES6StyleSheetwindowsrm -frnameoperating-systemelectronidlruruntimeassertsduplexreactES2017Uint8ArrayenvironmentasynctoobjecttapglobstylesheetES2019ECMAScript 2018esregularjsxfast-copyloadingopenminimallintfunctionaltimepackagesbluebirdworkerparentisdefinereact animationhasdefinePropertyomitescapeutilitiesdirectoryperformantgesturesutilitytypeerrorform-validationeslintplugincorereadablestreamtddJSONObject.assigneast-asian-widthtelephonees2018columnconfigwaapiinternal slotES2015signalArray.prototype.includesemojijsmonorepotyped arrayoptimizerpackageinvarianttapeFloat64ArrayTypeScript$.extendparentscoloureventDispatcherRxJSes2017xdg-openwhichtypesafesettingsrequestregexpflagseslintdotenvlimitreact-testing-librarylessfiglettacitawaitenderloggerequalityjsonschemaasciiopensiterationfromfind-upchromiumidlefpyupObject.iseslintconfigsortedcss variableexpresschaifantasy-landes5rmdirsigintreact-hookstermtakeimmutableprototypeutilsmkdirspurepoint-freevalidatecacheoptionformtesterramdababel-coreArrayhashwatchreadable[[Prototype]]fast-deep-copyefficientreduxstylingsanitizeReflect.getPrototypeOfshrinkwraptypesdeterministicgenericscss nestinghardlinkstypedarrayguidfullwidthfindLasttypeofbindcheckpnpm9javascriptcliwordbreaktypechromedataautoprefixersanitizationfindaccessibilityECMAScript 2016bannereveryless compilerconcatmergemacoslengthcolorsless.jsES2018nodejsmovegetPrototypeOftypescriptRegExp.prototype.flagsTypedArraychildsignalsbuffercore-jslaunchdom-testing-librarymomenttoStringTagflatMapmatchesqueueMicrotaskchannelvaluesArrayBuffer.prototype.sliceStreaminspectrangeerrornamesstringifybootstrap lessmkdirpdescriptorschemepropertysyntaxsameValueZeroUint32ArrayStreamslistenerspathcommandstableyamlsharedassignastpyyamlpreserve-symlinksisConcatSpreadablevariablesgdprMapmulti-packagefetchserializevisualObject.getPrototypeOffseventsexesetterclassnametrimeventEmitter0writableObservableswebECMAScript 2020utilESnextwatchingdataviewstatusprocessshimUnderscoremodulefiltertoolssequencewgetrecursiveio-tsjapanesecharacterlazyecmascriptRFC-6455es6ECMAScript 2015upcallbindECMAScript 2023ES5write
1.0.2

16 days ago

1.0.4

14 days ago

1.0.3

15 days ago

1.0.1

17 days ago

1.0.0

17 days ago