1.0.0 • Published 1 year ago

@rabiepenpm2/saepe-eaque-inventore v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@rabiepenpm2/saepe-eaque-inventore Version Badge

github actions coverage License Downloads

npm badge

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

Example

var isSet = require('@rabiepenpm2/saepe-eaque-inventore');
assert(!isSet(function () {}));
assert(!isSet(null));
assert(!isSet(function* () { yield 42; return Infinity; });
assert(!isSet(Symbol('foo')));
assert(!isSet(1n));
assert(!isSet(Object(1n)));

assert(!isSet(new Map()));
assert(!isSet(new WeakSet()));
assert(!isSet(new WeakMap()));

assert(isSet(new Set()));

class MySet extends Set {}
assert(isSet(new MySet()));

Tests

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

walkchaikeyscss variableObject.keysroutingfast-deep-clonecallbackequalitystatelessmatchECMAScript 2020settingspasswordparservalidationrangeerror.envpersistentformattingweaksetSymbol.toStringTagbuffersObservablesspinnermimepositiveobjectcryptocomputed-typesRegExp.prototype.flagsboundStyleSheetwaitcallbounddefinePropertyES3wordwrappluginsymbolsoffsetfile systemrapidlessmoverdsReflect.getPrototypeOffindupirqargumentdotenvimportexportcopyinputa11ysqstouchtypedfseventsmetadataclonepredictablechromiumcurlprocessless cssprotobufstyleses5minimaloperating-systemgetterRFC-6455emrlook-upinternalprotohasOwncloudwatchintrinsicserializeoutputformatyamlwatchdropUint32Arrayuuidfastclonecall-bindcloudsearchJSONarrayfetchajaxjasmineflatwatchFiletypedarraystoolsenvObject.entriestslibslicetermrm -frCSSStyleDeclarationdataViewclassnameshimdomObject.assigntypeofsortfiltermkdirpyupaststreams2indicatorforEacheast-asian-widthwatchingtoSortedwidthpicomatchthrottleUint8ClampedArrayidleObservableconsumejapanese$.extendArray.prototype.flattengdprframeworkArray.prototype.flatMap__proto__autheventDispatcherconfigxhrES2019assignargvawstrimEndECMAScript 2019ttyES6jestdebugeveryredux-toolkitasciimruhookforminstallerinspectdiffRxJSprivatedataviewurlmapreducePushtesterdirES2023fastcopytsString.prototype.trimsomefpsWeakSetsharedinferencedatastyleguideArrayBuffer#slicescheme-validationUint16Arrayshamexit-codenopeObject.fromEntriesdescriptor@@toStringTagloadbalancingnegative zeroreuseless.jslookcolouraccessorrandomes8parentsES2020MicrosoftlivehasprettyECMAScript 6quoteES8speedinWeakMapspinnersArray.prototype.includesviewansihardlinkstelephoneinvariantvalidateencryptionrestfulquerywordbreaktypebatchroute53nested cssstdlibgradients css3reducextermFloat64Arrayrecursivefastifyserializationsuperstructefficientlogvariables in csslesscsselbSetlinewrapgetPrototypeOfcompile lessrmdirtostringtagschemeupmobileIteratorsiginthashdeep-copycacheextendjsonpathutilityec2mergeTypedArrayString.prototype.matchAlleslintworkerreduxfsrequirewhatwggetOwnPropertyDescriptorconfigurablemkdirsUnderscorebundlerelectronstyled-componentsmkdirexpressionlazyjwtAsyncIteratornamesrobustpyyamljsdiffargparsetapefullArrayBufferloadingauthenticationchannelassertsescapePromiseformsregular expressionjsonautoprefixerbyteLengthpropertiesless mixinsbyteOffsetless compilercjkstatusrm -rfECMAScript 3istddsetterstringifierentriesruntimecommandtrimStartsesregularemitHyBibrowserslistcommanderarraybuffermixinsInt16ArrayamazonvpcflatMapcolumnsflagInt32ArrayRxutil.inspectwatcherprotocol-bufferskoreanarrayssimpledbomitURLSearchParamsfixed-widthquerystringdeepwindowscolorsqueueMicrotaskenumerableavafindLastIndexstatedynamodbkeypropjsBigUint64ArrayassertsetPrototypeOfwalkingmoduleECMAScript 2018rate_.extendopenconcatMapfast-clonelastsetImmediateobjratelimitdependenciesenderdescriptorsparentUint8ArrayaccessibilityfunctionalairbnbproxylengthECMAScript 2015searchbundlingworkspace:*optimizermapsigtermInt8Arrayconcatutilfindoptimistio-tstrimLeftsameValueZeroestreesortedpipepackagebddformstylesheetecmascriptreact-testing-libraryes2015execduplexdom-testing-libraryexpresshasOwnPropertylockfilelimitedvalidimmutableECMAScript 5css lesspackagesnativeES2016awaitguidloggerdeterministictakeunicodeECMAScript 2022terminalbreakhandlersstarterECMAScript 2016matcheswritabledatezodfull-widthclassesextrastylingchinesebrowserbytepathjavascriptESlanguagepruneFunction.prototype.namemakeshrinkwrapvalueiteratorcollection.es6datastructureownzerosequenceflattenclassnamesESnextperformancethroatgetoptapistringbcryptoncequeuefind-upclistringifytoobjectmake dirtestwarningcsscolumnStreamscensorrgbi18nsyntaxexites-abstractfluxes6Array.prototype.filteres2016ReactiveXregular expressionsgenericstyped arrayeslintconfigfunctionsbufferCSSwebautoscalingreal-timeSymbolstreamebsstoragegatewayObject.definePropertyjsdomtypanionlistenersprefixiampushflagsMapparsinggetintrinsiccryptrequestgradients cssinstalltraversearktypelibphonenumbertimees2017lintdefinespecfindLasthttpsregexpcreateeventEmitterES5progressshellpackage.jsonpropertyhttpl10nURLsidecallbindnegativedependency managerES7WebSocketsrestECMAScript 7slotcss nestingdayjssinatraimmerwgetponyfillidnumberdeep-cloneargsuninstallECMAScript 2017rmclass-validatorcommand-lineArray.prototype.findLastIndexassertioncircularpostcsssnstestingworkflowtypescriptparsebootstrap csssymlinksemojitoStringTagArray.prototype.flat256jQuerymoduleshelpersagenthotStreamtypesafecloudformationnameArray.prototype.findLastmulti-packagemimetypesJSON-SchemaserializercontainsRegExp#flagswhichtextArray.prototype.contains0replayYAMLeskarmapreprocessorECMAScript 2021regexiterationpromiseqsdeepclonefunctionpackage managerreadablecharacterstylees2018performantisConcatSpreadablemacosrouterelmeslint-pluginchecksafesignalbeanstalkmonoreposharedarraybufferappbusylinklinuxhigher-ordercodesextensionredactform-validationconcurrencyECMAScript 2023cloudtrailawesomesaucestructuredClonesyntaxerrorcallES2017limitrfc4122kinesisfast-copymochacss-in-jssuperagentinternal slot
1.0.0

1 year ago