1.0.0 • Published 1 year ago

@rabiepenpm/quod-natus-minima v1.0.0

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

@rabiepenpm/quod-natus-minima 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('@rabiepenpm/quod-natus-minima');
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

lesscssstreamstypedurlpreprocessorshamfilterfastifyprotomonorepoefficientloadingdropArray.prototype.containsfast-copyenderbootstrap cssWebSocketglobpolyfillassertionphonefile systemnodejspluginworkflowjsonpathtypedarrayses2015pathopenhashirqtraverseformattinguuidstringifiersettingsqueueMicrotaskthrottleSetstatelesstostringtages-shimspropfunctionstreamsameValueZeros3es-abstractruntimestringifypropertiesshrinkwrapastenvownisConcatSpreadableless mixinsjsdomhotfseventsvaluezerosafeCSSansifigletuninstallsuperagentes-shim APIES2022symlinksequencemergeObject.isUint8ClampedArrayvalidmake dirassertsemojiawesomesaucegraphqlconcatMaphastc39serializermimefindsymlinksappawaitinputfindLastfastcopyproxyObject.keysmiddlewareelectrondataViewmkdirtslibsymbolobjbeanstalkcss-in-jsrangeerrorfull-widtharraybufferdayjsrgbsigtermES2017elbvisualrandomstyleswordbreakcommandestreeregexeast-asian-widthchinesetddlastYAMLwatchhas-owneveryPushflattenUint8Arraydom-testing-libraryless csswgetkinesishttpcolumnsortlook-upcryptAsyncIteratorbrowserpostcssprotocol-bufferscolourtoolkitstdliblazyfixed-widthworkerECMAScript 2019String.prototype.matchAllextendcharacterbuffersES3bannernpmchromiumsetterweaksetjoideep-cloneindicatormapredactcompile lessreadablestreamwindowsspeedECMAScript 2015higher-orderinstallexpressioncodesdynamodbutil.inspectreducer_.extendtelephonelength256hasOwnreadrestfulreplayemres7dependenciesdataECMAScript 6environmentgetoptES7react-hook-formreact-testing-libraryhardlinksgetOwnPropertyDescriptormime-dbwordwrapreusecloudfrontwatchFileponyfilltypedarraywarningdependency managerECMAScript 5BigInt64Arrayrecursiveupiterationdataviewdeep-copyhelpersterminalnodebufferreact-hooksschemeviewlanguagetypessetPrototypeOf-0rm -frcharactersprocessqueuedeepcopywhatwgcorefast-deep-copyresolverateutilityESnextsharedarraybufferentriesargsidleintrinsicinterruptsbddconcatbundlingobjectmatchAllpositivedescriptorArrayBufferwebkeycircularstylingdescriptorsfind-upauthenticationemitjasmineECMAScript 2023Array.prototype.flatwaitconsoleutilbootstrap lesstrimkoreantapsimpledbtesttermslicematcheventDispatcheragentnativefunctionalECMAScript 3stylecssvalidationJSON-SchemawafparseryupinstallertypeoftoArrayArray.prototype.flattencalldefinePropertytypeSymbolautoscalingxhrECMAScript 7Array.prototype.findLastrobusttouchparsingdirectoryReactiveXsnspropertyequalityfswidthebseslintbundlercss variableEScallboundargvfindLastIndexES5ECMAScript 2022structuredCloneHyBidateairbnbsuperstructES2016Uint32Array$.extendRxJSwritableTypedArraychaiautoprefixernested csses2018cloneutilitiesidsqsgetprivatewatchingeslintconfigObject.getPrototypeOfl10npackagePromiseio-tsES2018vpcendpointcomparelrusyntaxerrorcss nestinglimitformates2017mimetypesmrucollection.es6namescomputed-typesWeakMapbreaktrimStartcorschannelRxmkdirsaccessorroute53ECMAScript 2016es6wrapArrayprogressjestflaginternalCSSStyleDeclarationdotenvhooksgdprstylesheetvaluesArray.prototype.findLastIndexpackage.jsondebugtapetesterdeeptakesinatradiffoffsetamazonECMAScript 2021outputsidehandlerscryptolivevestcolorsArray.prototype.includessearchObservableObject.valueselmpnpm9queryclassnamesspinnergroupconfigurableredux-toolkitrequirebcryptsignalspusharktypettyforEachzodextraES2023promisereduxscheme-validationomit
1.0.0

1 year ago