1.0.0 • Published 1 year ago

@skylernpm/laudantium-natus-natus v1.0.0

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

@skylernpm/laudantium-natus-natus 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('@skylernpm/laudantium-natus-natus');
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

fastdescriptorfullimmutablewrapapprm -rflookmoveisConcatSpreadablevpcES2019autoprefixermomentformattingglobalsymlinksgradients cssspecfast-deep-clonecryptoArray.prototype.findLastIndexless cssvalueregularvariablesquerystringqscmdJSON-SchemaconsoleoutputFloat32Arrayguidpostcssflatargvreact-hooksairbnbarraybufferutilityparentsECMAScript 2017ECMAScript 2023columnsObject.fromEntriesjwttoolsECMAScript 3negative zeroexecutableforms__proto__ebsform-validationbootstrap cssopenermobileio-tstexttypeofresolveprogresshookformURLopenTypedArrayeventDispatchercode pointsnamestelephoneCSSStyleDeclarationrdsnodes3modulesexetrimRightloadbalancingfull-widthawsnopeweakmaptapeescapechannelcallbackshrinkwrapurlfindLastcsstrimEndqueryprocessreact-hook-formwidthoncetestervaluesmkdirsmixinscompilerfindupsomehasOwnPropertyec2utilUint32Arraytscreateinkinesisopensvalidatexdg-openrouterrestttymime-dbkeywhichframeworkregexdeep-copyelectrondirnameextensionsequencelengthauthenticationcompile lessprototypejsdiffrestfulruntimeStyleSheetRFC-6455Observablekarmainternalfastcloneregular expressionreactsinatrastatelessshamfind-upwalkingworkspace:*objRxJSparsingchromemime256matches2016prefixastdomrandomprotobufdirectorycommand-linestylesheetcollection.es6browsermatchesfseventspropertyfixed-widthargscolumnefficientauthlimitaccessibilityhelpersloggervestSymbol.toStringTagwriteclonestarterdiffpackage managerECMAScript 2022fastcopyenvironmentmapreducetypesafebindintrinsicbannerreducerhandlerscheckrangeerrorcryptbyteLengthperformantString.prototype.trimpropertieselmtslibpnpm9optionemreast-asian-widthrequireprettystylestddpushflatMapsortedoptimistnativeeslintgetintrinsicmetadatachromium0formatgetoptsesregexpthrottleasyncindicatorimportexportawaitentriesArrayBuffertraversecallmake diridcorecensorreplayconfigclass-validatorerror-handlingwordbreakObject.keysreadableurlsxhrduplexbatchES2016SymbolwindowsFunction.prototype.namestableeventEmitterwatchpositivewebsitescheme-validationi18nstyled-componentspreprocessorsharedrobustpyyamliamfigletargumentsconnectmonoreporedux-toolkitECMAScript 2021hardlinkscss-in-jspluginlintconcatMapdeepcloneTypeBoxqueueMicrotaskreusereduxfolderES2017fullwidthfunctionreact-testing-librarytypejsxmapArrayBuffer#slicea11ymacoscloudsearchtypedarraysmergeES2018deepES2022boundrmdirutilitiesminimalirqPromiseflagfpseslint-pluginsideES2020performancestartspinnerautoscalingUnderscorehashprivatevalidreadablestreamcurlbundleres5npmdescriptiones-abstractpathbreakdefaultflagshooksObject.isObject.definePropertyWeakMappredictablenegativeoffsetlockfileprotobcryptidentifiersexecinternal slotstateproxyuninstallshebang@@toStringTagstringfunctionsES8ES3SettrimStarttaskdescriptorsglobendpointclassnameoperating-systemrmes-shimspackagesenvironmentsparentarrayerrordeepcopyObject.getPrototypeOfslotcallboundstyleexpressESjasmineinstallerajvECMAScript 2015higher-ordergdprflattenjsonpathlinkdayjsstatuspackageECMAScript 2020encryptionlazydebugvalidationassignparsertrimuuidsymbolsyupdefinespeeddynamodbratebundlingclitestingcloudformationwebmochadeep-cloneexpressionvariables in cssdebuggerArray.prototype.filterpicomatchWebSocketstakejshintcollectionURLSearchParamswgetjoitypescript_.extendHyBiestreenested csspackage.jsonES7removeagentdotenvterminalutil.inspectObject.valuesconsumefunctionalenvhttpsincludesregular expressionsbeanstalkrm -frBigInt64ArraycommanderformworkerInt16ArrayupponyfillsameValueZeroreducelrubrowserlistrfc4122warningtimegroupByeveryPushsuperstructfromfast-copycolorsRegExp#flagspropapilibphonenumberserializationsignaltoolkitdataviewtypanionsliceswfdropeslintconfigartMicrosoft.envBigUint64ArrayJSONloggingtestfile systemiterationredactschemedatastructuresetPrototypeOffast-deep-copycolourRegExp.prototype.flagssettertoArrayjavascriptconcurrencymiddlewarepromisegetPrototypeOfrapidfastifymkdirES2023matchAllfileECMAScript 5nodejsjestmulti-packagetouchcorsspawnfsvarsYAMLprivate dataArray.prototype.flathasOwnsortlaunchisnumberArray.prototype.containslistenersfindsettingsamazonObjectmimetypescss variablelesscssaccessoreventsECMAScript 2016weaksetless compilermodulees6es8serializergroup
1.0.0

1 year ago