1.0.0 • Published 14 days ago

@ptkhanh94npm/deleniti-perspiciatis-expedita v1.0.0

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

@ptkhanh94npm/deleniti-perspiciatis-expedita 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('@ptkhanh94npm/deleniti-perspiciatis-expedita');
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

TypeBoxtraversequerybyteLengththrottlebootstrap lesssetterprototypegradients cssformattingIteratormake dirFunction.prototype.namedefinefastcopycss lessassertpromisestableless csslookoptionqueuenamejwtES2022ES2023consumerm -freventEmitterES2015oncehelpersuser-streamsutilitiesformwatchFileFloat32ArraytslibtypesaferandomtoSortedCSSStyleDeclarationelectronpostcss-pluginspeedRxtypedreact-hookscorsfilecommandavaflatsymlinkES3valuesvalidatemimedirectoryi18ndataViewsanitizationhandlersgradients css3deep-copylinewrapObjectArray.prototype.filterlintbannerboundcss nestingreactio-tscomparecensorcolumnmixinsUnderscoredescriptorsreact-hook-formdropcjkauthcryptoextendpipedeletestreamopendatatermbundlerjson-schema-validatorcollectionponyfillconstfastclonebluebirdjsonpathnested cssfast-clonereadablestreamerrorArray.prototype.flattenlazyStyleSheetsuperstructchinesebootstrap csswaitchanneltrimEndfunctiontoobjectregexdependency managertypebufferstoArraygroupRxJScreatepostcssfpreact posegesturesletes2017callboundSymbol.toStringTaginspectregular expressionsdeep-clonesuperagentidleES2020__proto__shebangresolveappjoilinuxlastforEachindicatorscheme-validationnegative zerostringifyconsolecoreaccessorprotobufeventslook-upwgetincludeswatchingspinnerramdagetPrototypeOfloggertranspilerutilityfetchfantasy-landcall-bindclipreprocessorentriesinternal slotreal-timezeroObservablecssdom-testing-librarywarningisConcatSpreadableObservablesgdprlockfilearraybufferpolyfilles2015Object.definePropertywhichtimemodulestranspilemkdirppromisestoolkitnumberprettyassertionhigher-orderbrowserlistjsonviewfindLastIndexECMAScript 2022mrufindLastfixed-widthtelephoneObject.entriesremovebatchECMAScript 2019concurrencyreducemacositerationtypeofperformancesharedprivate datarmdir0typedarrayObject.getPrototypeOfargparseArray.prototype.flatMapWeakMaptrimStarterror-handlingmatchesfastifyobjecthttpsstyledayjses2018es-abstractjsonschemaequalspringomitcall-boundshimzodTypeScriptschemecirculargraphqlECMAScript 2016gettereslintMapfullwidthpropES5pruneparentmatchAllInt16Arrayslice3dhashcollection.es6ES2018pureexpressRegExp.prototype.flagsrm -rfshamlinkUint8Arraysymbollesscsscolumnstddspinnersargumentsapifull-widthES2021package managerurlsimmermetadataexpressionvarglobsymbolsmakeintrinsicoffsetmovearraysPromiseprivatextermframerArrayBuffervalidatormiddlewarethreeregular expressionYAMLsetPrototypeOfcompilerwaapistructuredCloneserializemomentwebsyntaxerrorchaioperating-systemdefaultinvariantharmonynodechromeflagObject.valuesWeakSetBigInt64Arrayfast-deep-copyutil.inspectsignalfilterrapidimportkeybabel-corenpm6to5_.extendawesomesauceendercodesCSSquoteuuidoptimizerxssreadpicomatchhascommanderarraycoerciblejasminees8stylesPushpersistentES7koreantestvariablestrimRightpatchstartfunctionalECMAScript 3getoptwordbreak256urlgenericssearchprocessconnectregularterminalstringifierJSONArrayBuffer.prototype.slicereusesyntaxFloat64Arrayopenerirqredux-toolkittouchbytenodejstyped arraykeysmochadataviewsafesigtermargsinternalcss-in-jsmime-dbyamlxdgeslintplugininferenceaccessibilityfast-deep-cloneobjfasttypanionratevisualECMAScript 7multi-packageworkerttyfast-copyajaxcmdJSON-Schemawalkingdeepsanitizefunctionspnpm9runtimeECMAScript 2018toolstoStringTagsetImmediateserializationeventDispatchertypedarrayses-shimsqueueMicrotaskexevalidArray.prototype.containsreadableclass-validatorstringcallArray.prototype.includesbrowserconfigurableassertsschemacore-jsECMAScript 2023serializerwatcherdatecryptiteratehasOwnECMAScript 2017ArraystatusReactiveExtensionsapollouninstallStreamsES8typescriptexit-codeinstallexecutableflattencopycolouriteratorcompile lessasyncshrinkwrapMicrosoftArrayBuffer#slicesortedcurriedreduxmergevaluequerystringregexpprefixairbnbclientrequireweaksetmimetypesnegativehardlinksanimationencryptionbddqsES6windowsdeepcopylaunchenumerablesigintURLargumentString.prototype.trimpackagetostringtagredactObject.assignfsstyling@@toStringTagdebuggereslintconfigsettingsoutputslotes2016es6takemonorepoajvwebsitestatelesssameValueZeroextensionshellloadingrfc4122javascriptoptimistcurlweakmapbusyenvironmentjsdiffreducerlimitedmkdircharactersutilstesterArray.prototype.findLastjses7checkspawnpackage.jsonreact animationratelimitpropertiestacitObject.fromEntrieseslint-pluginless.jsextraguidjsdomdebugmobileasciijson-schemaclassnamegetwraphookformcacheECMAScript 2020rgbexecestreedirspeceast-asian-widthmoduleRegExp#flagsutill10ntypeerrorstyled-componentsenvECMAScript 2021ES2016Array.prototype.flatjapaneseconcatMapdefinePropertyparentsduplexefficientObject.isdatastructureRFC-6455Uint8ClampedArray$.extendinterruptsdragbcryptbyteOffsetfigletReflect.getPrototypeOfa11yexitconcatflagsReactiveXnamesECMAScript 5fromemojiwatchgroupBywritecharacterpluginmapphonesequencechromiumlengthESnexttrimworkspace:*ECMAScript 2015childfolderdeterministicecmascriptUint16Arrayless mixinsdotenvescapewalkimmutablebrowserslisteditorpackageswidthloggingsymlinkscolorstreams2testingvariables in cssrangeerrorbundlingopensunicodetc39assignsignalspositivegetOwnPropertyDescriptorispreserve-symlinkskarmalogsomelistenersconfigsharedarraybufferES2019performantdiffprogresscallbacktrimLeftreact-testing-libraryTypedArrayfile systemjQuerylruWebSockets
1.0.0

14 days ago