1.0.0 • Published 12 days ago

@ryniaubenpm/maiores-animi-hic v1.0.0

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

@ryniaubenpm/maiores-animi-hic Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

Example

var isWeakSet = require('@ryniaubenpm/maiores-animi-hic');
assert(!isWeakSet(function () {}));
assert(!isWeakSet(null));
assert(!isWeakSet(function* () { yield 42; return Infinity; });
assert(!isWeakSet(Symbol('foo')));
assert(!isWeakSet(1n));
assert(!isWeakSet(Object(1n)));

assert(!isWeakSet(new Set()));
assert(!isWeakSet(new WeakMap()));
assert(!isWeakSet(new Map()));

assert(isWeakSet(new WeakSet()));

class MyWeakSet extends WeakSet {}
assert(isWeakSet(new MyWeakSet()));

Tests

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

pathslicesigtermprocessfsECMAScript 2022requestisArray.prototype.findLastIndexdataViewpyyamlwarningtestinggenericsstringoutputsymbolsletharmonytoArraypersistentlessStreamsTypeScriptpreprocessorcorsbannerdirectorycss variableinstallerapolloerror-handlingrmoffsetframeworkECMAScript 3io-tsserializeECMAScript 2018unicodetapglobnumberrfc4122redux-toolkitrangeerrorentriesprefixBigUint64ArraydirES3metadataObjectstreamtapetypedwordwrapbabelJSON-Schemaopenanimationintrinsicupexpressionspinnertermpluginqueryfast-copyreadqstestpackage.jsonidlevaliddeletevariablesopenerbreakWebSocketstartinternaltslibFloat32ArraytraversesetImmediategrouptimees-abstractCSScallboundfulllibphonenumberlinuxwhichbootstrap lessvaluescoreaccessorsomeincludesinternal slotelectronoperating-systemlesscssObject.definePropertyObservablereadablestreamlogsymlinkassertwrapdeterministicpnpm9negative zeroinstallcontainstrimLeftdependenciesprotobufprivate dataexecutablemoveratelimitMicrosoftworkerpatchlaunchnested cssarraysemojioptimistmomentjson-schemaenvironmentperformancesortspeedRxyupdatecharacterserializationlimitedbuffermixinsjsxshebangES8compilerparsezodsyntaxerrorshimzeroAsyncIteratorregulargradients cssES2016promisescurriedUint8Arraypostcssclonestylesexekarmawatchertypedarrayscreatees8jsonvalidationkeyl10ncallbindtrimStartconcurrencybindencryptionTypedArraylimitUint32Arraycall-bindinvariantgetOwnPropertyDescriptorterminalbyteYAMLreduxomitsafeschemafunctionclientES5commandawaittoolkitES2020weakmapwebformscore-jsformattingclassnamesratenodejsURLmimeES2017setterless cssmatchesObject.fromEntriesdefaultbatchawesomesauceWebSocketsdescriptorsauthformRxJSutilseslintCSSStyleDeclarationpropertyRegExp#flagsreact poseES2022chromiumes5callimmercollectioncomputed-typeswgettddauthenticationlook-upsymlinkssetgetPrototypeOfstringifierfilethroatguiddatastructurehandlersreact animationpasswordslotfastcopyESconcatMapcss-in-jsdomtypescriptconfigfindLastIndexduplexArrayObject.keysassertscolumnreduceRegExp.prototype.flagsbyteOffsetless compilerclisuperagentes6modulequerystringhasOwnstylesheetshellwaapirmdirfile systemparserpropertiesdataArray.prototype.includesgdprSettypeerrorflageslintconfigECMAScript 2019dayjsclassnamenpmfindefficientasyncArray.prototype.findLastquotechailoadingts@@toStringTagtrimRight-0spinnersparentpicomatchajaxdeep-cloneprivatecommanderiteratejapanesebrowsertoobjectpopmotionsignalsschemephonebcryptjson-schema-validationES2018findupstreamstypanionutilitiesregexploggerstyleguiderecursiverm -frcheckextension_.extendwatchFilearrayajvJSONshrinkwrapeventEmittervariables in cssargparsei18nassertiontranspilertypeofxhrfindLastpreserve-symlinkspackagefpECMAScript 6WeakMapstringifyshamcompareflattenlanguagearraybuffer256lookform-validationurlsless mixinstouchequalityES2023deepcopymakeprototypestarterprotobabel-coresortedwalkingforEachprotocol-buffersUnderscorebyteLengthbundlingtc39Uint16Arraydroptrimjsonschemabootstrap cssreact-hooksfast-deep-copyjsdiffconstuser-streamsyamldefinePropertyeslinthigher-orderboundcallbacktypees2015make dirextenddeephardlinksreactReactiveExtensionsinterruptslinkinferencerm -rfconcatbundlerpipeponyfillReflect.getPrototypeOfstreams2fromFunction.prototype.namemiddlewareavahttpsES2019typesaferegexclass-validatordotenvwaittacitttyuuidfetchECMAScript 2016ECMAScript 2021ECMAScript 2017telephoneidsigintwebsitearktypeweaksetsanitizemulti-packagepackagesstableString.prototype.matchAlldefineutil.inspectES6cssvalidatereuseSymbol.toStringTagfunctionsinputjestlruscheme-validationtypedarraypolyfillramdapushtrimEndspawnfunctionalxdgfullwidthsharedsanitizationrandomindicatorlazydom-testing-libraryUint8ClampedArraymergebusydependency managerECMAScript 2023collection.es6robuststyleObject.getPrototypeOfgroupByvarsuperstructcompile lessfilterfseventshelpersopensminimalmruFloat64Arrayfind-uponceflatMapastestreeurlrgbclassesObject.ises2016SymbolthreefigletObject.valuesbddenumerablespeccryptconsumeposehooksdescriptiontyped arrayremovewriteURLSearchParamstoSortedchild[[Prototype]]circularrequiregettercharactersstructuredClonecall-boundsidewalksharedarraybuffergetintrinsicescapeairbnbstatelessfast-deep-cloneArrayBuffernamescensoriteratorimportparentseast-asian-widthECMAScript 7fast-cloneflagsArrayBuffer#slicereducerMaphookformpoint-freehashInt16ArrayStyleSheetTypeBoxjsa11ydebuggerinspectArray.prototype.flatprettysameValueZeroautoprefixerfastcloneObject.entriesmochaloggingbrowserlistcjkregular expressiones-shim APIstatuscolorwatchcopyRFC-6455toStringTagjoicolourmkdirtaskcode pointses-shimsInt32Arraycss lesseslint-plugincss nestingObservablesstyled-componentspruneutilitykoreanpromisejasmine.envenvargumentsgestureses2018transpilefastifydragprogress3dexit-codewidthmkdirscommand-linenamestylingtypespackage managercolumnsPromisetestergraphqluninstallcurlfantasy-landcryptoPushes2017workspace:*errornegative
1.0.0

12 days ago