1.0.0 • Published 15 days ago

@povsicoenpm/inventore-ipsum-sint v1.0.0

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

@povsicoenpm/inventore-ipsum-sint 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('@povsicoenpm/inventore-ipsum-sint');
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

json-schemaprettyspecsuperagentparentssidenopejsxmatchAllextensionhardlinkscharactersshebangbdd0descriptionjsonschemasymbolsobjectaccessibilitysettermkdirpdragtestinguninstallcontainsBigInt64ArraylinewrapparenttoArraynamesgradients cssequalhttpspatchcoreutilautoprefixertrim[[Prototype]]wordwrapUint8ClampedArraypersistentthroatcollection.es6monorepotypedarrayObject.keysgetOwnPropertyDescriptorhasinputbyteLengthcallbindtimesymbolpositivebabel-coreschemeES6asciiwaapimake dirharmonythreeexecforEachpromisesECMAScript 6form-validationdependency managerArray.prototype.findLastglobreadablestreamSetvestwhatwglrufullwidthresolvespinners.envObject.assignloggingoptimizersignalwriteutilityentrieslook-upawesomesauceconcatstatelessStreamES8nested cssinternalajaxObject.fromEntriesdebugprotocol-buffersisECMAScript 2019compilerInt16Arraydomprivatewritablefull-widthcolourprocessimportenumerablemiddlewareregular expressionssanitizationchromiumtoobjectStyleSheetloadingsetPrototypeOfruntimesyntaxstringifierequalityStreamsutilitiesreact-hooksfetchjestserializationemitfigletopenbootstrap lessthrottlecircularwatchingframertypedarrayshasOwnArrayBuffergenericses6limitnamestructuredClonebundlingcss-in-jspropertybrowserlistrmdiryupinterruptsrandomdataSymbol.toStringTagjasminewhichpropapiJSON-SchemaxhrvalidatorwalkingFunction.prototype.nameshrinkwrapmatchesURLwarninglibphonenumberxtermwrapfastcloneObject.valuesfindSymbolexitlinkterminaloffsetastratesetcallbackObjectfastcall-bindrgboutputreduceexit-codegraphqlPushObject.entrieseventEmitterstyleMicrosoftcommandformatendernativeshellRxsomeperformantschemabreakstringstatusvarredux-toolkittoolsclonecensorRxJSparsenodejsassertsonceinternal slotchaiUint8ArrayFloat64ArraysameValueZeroECMAScript 2022ieserializerformwatcherconcurrencydirjsdiffWeakMapfromstreampackage.jsonirqUnderscoreansistylesheetpopmotionlockfileajvObject.definePropertyreact-testing-librarycrypttslibpasswordflagsWebSocketsvalidationrapidtrimLeftdateaccessortapkeylookcorsdotenvpackagestaskgradients css3fast-deep-copyfast-cloneauthenticationfindLastIndexphonetapegesturespreserve-symlinksparserArray.prototype.containssearchoptimistguidcommand-lineES5bcrypt_.extendfind-uptsdeletenodeinvariantcreateeslintconfigpnpm9ES2021typaniones2017fast-copyspinnerenvencryptiongetPrototypeOfjson-schema-validationarraysremoveprunehandlersbabelbyteOffsetes2018definePropertywordbreakconsumeprivate datagetObservablesframeworktrimStartnumberbuffersinferencecolortypesmacosReflect.getPrototypeOfECMAScript 2017traversemovestarterassigncall-boundfastifymaketddECMAScript 2020eslint-pluginTypedArrayconfigurablereduxES2015hashstylesJSONArray.prototype.flattenArray.prototype.includesxssstyleguidereal-timeES2020zodreact posesliceregular expressionlesscsseast-asian-widthrequirecssObject.getPrototypeOfmatchfunctionspackage managertoStringTagflattenless compilerclassnamearktypequerystringponyfillfast-deep-cloneESnextscheme-validationrfc4122ReactiveExtensionscachesyntaxerrorpropertiesiteratorratelimitInt32Array__proto__TypeBoxECMAScript 2023argvsymlinkmobileObject.ismimelanguagejsoncheckunicodegettertypesafeiteratedependenciesanimationreact animationchrometostringtagclicryptohooksgetintrinsictypesettingsexpressprotobuffsrm -frhttppolyfillprefixrangeerrorArray.prototype.filterdeepcopyless cssargparsedayjstypedes-abstractdirectorycharactercss nestingobjtakesymlinksdebuggerstyled-componentsupformsfilterchinesees7avaeventDispatchercode pointsletserializelengthlistenershigher-orderpushshamArrayBuffer#slicecurriedpromiseairbnberrorbusypackageless mixinsFloat32Arrayeverycss variableprotoECMAScript 5copyArrayes5telephonefixed-widthcurlcomparefindupidleCSSvariables in cssweaksetsharedarraybufferconfigmime-dbmimetypesdescriptorsarraydropinstallwgetES2023loggervisualextendfilebindsortsanitizetypeofkarmaqsdeep-clonebrowserdiffsignalscolorsECMAScript 2016ES7apolloString.prototype.trimUint32ArrayconstPromisemixinsvalidqueueMicrotaskjoimergeECMAScript 2021typescriptinspectsharedmkdirsfolderAsyncIteratormrumoduledom-testing-libraryboundpathdataViewyamldeep-copybanneri18nassertcss lesstyped arraya11yimmerduplexindicatorkeysflatMapmetadatavalueregexclassessigtermreadwaitgroupCSSStyleDeclarationlinuxposeTypeScriptArray.prototype.flatestesterRegExp#flagsrecursivetrimEndtestimmutablesafeemojireact-hook-formiterationshimtc39momentartjwtasyncwebeventsestreegetoptintrinsicpreprocessorstableutil.inspectstdlibfullsetImmediatearraybufferjsonpathvaluespoint-freejapanesepyyamltermqueuetoSortedslotutilskoreanlessminimalfpes-shim APIlastcodesReactiveXcolumndefineHyBisuperstructchannelcompile lessreactpuredeepclonejQueryfindLastmochahelpersgdprwidthECMAScript 7deephookformmaptranspileweakmapio-tsrmObservableargspostcss-pluginIteratorfantasy-landnpmES2016logdatastructureArray.prototype.findLastIndexWebSocketwatchFileInt8Arrayregexpsigintcomputed-typesdeterministic$.extendzerofunctionlimitedcjkvariablesreusepluginbluebirdinstallergroupBymkdir3dcore-jsECMAScript 3es-shimsspringtouchprogressflatuuidpipewalkYAMLoperating-systemdataviewjsdomrm -rfredactprototypeES2019URLSearchParamsjson-schema-validatorECMAScript 2018authES2018es8error-handlingrobustfile systemtoolkitstylingtranspiler-0regulardescriptorvalidateescapeexpressionworkerformattingstringify
1.0.0

15 days ago