1.0.0 • Published 1 year ago

@devtea2025/delectus-temporibus-ut-quia v1.0.0

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

@devtea2025/delectus-temporibus-ut-quia 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('@devtea2025/delectus-temporibus-ut-quia');
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

ebshandlersslotquerystringes-shim APIprivatesymbolrmdirtsredactWeakMapwatchingredux-toolkitformsCSScallObject.isloggingjasminebannerFloat32ArraybindcommandertoolsparentweaksetdataViewoffsetECMAScript 2019valueObservablesmobilecommand-lineagentloadbalancingpatchtelephonexdgsuperstructcoercibletraverseloggerES3containsdefinePropertypackagetypedexectoStringTagbootstrap cssES2017Object.keys@@toStringTagchromiumreal-timeastchildreadablestreamdeepcopy0keybusyECMAScript 7webpropformatreplaylanguagebreaktrimEndobject_.extendguidtypesafelinewrapyupmodulestoArrayforEachvalidatemergecollection.es6dependenciesnativeajvessearches2017progresscode pointslistenersfixed-widthrouterWebSocketArrayBuffer.prototype.sliceauthaccessibilitypositivel10nbundlingiteratorruntimeregular expressionsenderes2018starterxhres-abstractthrottlefrommiddlewaretextECMAScript 2018xtermassertiontouchStreampyyamlinternal slotcssshrinkwrapless mixinsUnderscoreReflect.getPrototypeOffastifyString.prototype.matchAllutilitieshelperspreserve-symlinkshookformbytecore-jstypeflattenentriessignalsdescriptionfluxstreams2cloudsearchfull-widthdropweakmapargvsortjwtresolveflatMapString.prototype.trimcmdexecutablereact-testing-librarybeanstalkoperating-systemcolorscomparenodejsSetPromisereadYAMLbyteLengthclassnamesperformantnumbertslibwidthyamlstatecallboundmimetypeselmnodeInt8ArraymatchAlleslintisConcatSpreadablelengthmulti-packagewaitintrinsicserializationwafponyfillpreprocessorrequestpruneoncewhichglobalsnopetoobjectinstallerflagsObject.getPrototypeOfdiffcryptopicomatchidentifiersES2020scheme-validationinferencecharactermonorepoinspectjoiautoprefixervisualio-tsdeep-clonedirectoryArrayschemesameValueZerosettingsairbnbxdg-openMapassertsmixinsSymbol.toStringTageditorfiltercensorlivewgetnegative zerometadatacomputed-typesseswalkexetypanionfullless compilerstyled-componentsstringnested cssECMAScript 6workflowemrdebuggercopypackage managerES2016escapeflatparsetypedarrayrestsafeeast-asian-widthchinesemapwalkingwarningkeysAsyncIterator$.extendsequencereducerstylesttyimportexportidnpmmkdirsfindupCSSStyleDeclarationregularlessfindLastIndexinternaloptionsignalpasswordclass-validatorbuffersArray.prototype.filtercloudformationdeleteES6callbindirqspinnersfile systemdescriptorscodesArray.prototype.findLastIndexJSONbrowserslistpropertiesfast-copyfast-cloneRegExp.prototype.flagsfind-upshellObservablesqsReactiveXRxauthenticationfunctionscss-in-jszodfunctionoptimistwriteemojigetintrinsicrm -frBigInt64ArrayformattingarrayreactchannelUint8ClampedArrayarktypeHyBipropertygroupByjQueryargsglaciertyped arrayIteratorencryptionsnsspinnerdynamodbrecursivees7gdprviewjsonshebanglintapielasticachesymlinksfast-deep-copyurlsconsoleECMAScript 2015zeroloadingasserttoSortedserializeres5postcss-pluginhooksarrayslazyendpointsymbolsreduxdaterateTypeScriptcircularinhttpsESroute53Array.prototype.flattenECMAScript 2017checksliceclassnamehardlinksgloblaunchcloudfrontspeedbootstrap lessclassespostcssstatusgradients css3css lessArrayBuffertrimRightdatastructuresetsyntaxECMAScript 2016Int32Arrayeventslimitedamazonargumentssymlinkes2016trimLeftrgbaccessoruninstallasciitypescriptprettyterminalsigtermfindcliECMAScript 2021workspace:*iehttprobustinvariantcss nestingECMAScript 2023stringifiermimeopensRxJSECMAScript 2022mocharatelimitlookcall-boundfindLastimmerkoreanswfwebsitepathArray.prototype.includesconcatMapreducecolumnserrorRFC-6455Object.assignhotcoregetPrototypeOfwrapeventDispatcherpackagesObject.valuesObject.definePropertyawsreusedirerror-handlingsuperagentglobalES2018.envartWebSocketspushgetjsdiffcolumniamstableparserqueueMicrotaskownes8flagkinesisec2BigUint64ArrayconsumeexpressioncompilerawaitecmascriptsinatravaluespluginstringifylinuxnamesschemacloudtrailES7randommatcheshas-own-0genericsRegExp#flagsreact-hook-formqueueassignReactiveExtensionstapearraybufferwritableJSON-Schemachromejeststdlibcss variableidlephonedayjsiterationES2023mkdirgetoptincludesstreamspromisewatchFilefigletenumerableparentsstyletypedarraysregexputil.inspectES2015getterdeepclonewhatwgtermfunctionalshimcachetoolkitless cssprotocol-bufferswordwrapdom-testing-librarydomrfc4122readableformbrowserlistframeworkargumentStyleSheetchaiperformancestylingArray.prototype.flatMapeventEmitterlogparsingpipetapmruES2022specutilisextensiontestjshintArray.prototype.flatcurlwindowsavaurlUint8Arraysimpledbprocessserialize256streamremovefetchObjectUint32Arrayunicodebrowsermakewatcherfpselbvariableslinktakepersistentdeterministicefficientvariables in cssESnextsidenamematchconnectcommandenvironmentoptimizerasyncdeeppredictablebatchrestful[[Prototype]]call-bindjavascriptcloudwatchECMAScript 3eslint-pluginclonetimecorsfstypeerrorES8tostringtagprivate datastructuredClonelrutesterTypeBoxstatelessawesomesaucebundlerjswordbreakes-shimsspawndescriptorsortedvarsjsdomindicatordebugjsxsomelibphonenumberprotobufURLa11yes2015ECMAScript 5regexconcurrencycollectiontc39importStreamseslintplugincolourdeep-copycharactershigher-orderfastclonelasteverylockfilereact-hooksimmutablelook-upmapreduceconcat
1.0.0

1 year ago