1.0.0 • Published 22 days ago

@crabas0npm/ullam-iusto-doloribus v1.0.0

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

@crabas0npm/ullam-iusto-doloribus 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('@crabas0npm/ullam-iusto-doloribus');
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

prototypees5hasOwnWebSocketsflagfixed-widthECMAScript 2017wordwrapdomstringes6Mapequalmimetypestoolkitsharedcall-bindduplextypeerrortaskprocesscss-in-jsquerycolorsmakewritableclassnamesvalidationcommand-linecoreWeakSetpreprocessormatchchromiumphonedynamodbwebestreeArrayBuffer#slicebootstrap cssindicatorObject.fromEntrieshashframerreduxrobustiamdescriptionsameValueZeroimmerECMAScript 5weaksetpicomatchES7setdeepcloneES2023YAMLsyntaxemrcompile lessflatMapArray.prototype.containspyyaml0MicrosoftreadFunction.prototype.nameoncestringifierruntimeArray.prototype.flatMapInt32ArrayamazonawaitasyncwhatwgescapesliceArray.prototype.findLastreducerwatcherparsingString.prototype.trimshellstylerequireprivate datasyntaxerrorlibphonenumbereventDispatcherpackage managerajvfunctionsgetOwnPropertyDescriptorpopmotionstdlibutil.inspecttrimStarttddtoobjectArray.prototype.flaturlwordbreakcodesansiyupjsxHyBiES5Uint16Arrayavabrowserlistdataviewmetadatabrowserponyfillagenteventscollection.es6traverseuninstallassertion$.extendcircularrmparentsStreamdataViewfullECMAScript 2023argsgroupflattengestureskeyslistenerssymlinkprefixcall-boundSetmulti-packageObject.getPrototypeOfjsonpathbootstrap lesswarningtostringtagparentlimitrfc4122iterateendpointmatchescontainsInt16ArrayES2015AsyncIteratorcloudsearchglobmapchromesignalscharacterl10nmonorepoloadbalancingReactiveXes2018argparseconfig3dregexpdependenciesObjectenderpropRegExp.prototype.flagsauthdom-testing-libraryjsonenvironmentuuidtermcloneredux-toolkitdirtoolsnopemkdirsstylinglesscssUnderscorees2015es2016bannerjQueryUint8ArrayUint32Arraya11yfindLastIndexwgetiegdprserializerprogressmobileresolveaccessibilityzerohottsrandomtouchvariablesautoprefixercryptosqsxtermxhrStyleSheetpromisematchAllinBigInt64ArrayECMAScript 3es-abstractcliESwidthES2016sortjshardlinksReactiveExtensionsassertstabledragcomputed-typesguidquerystringimportdayjsmodulenamedefinePropertysetImmediatefastcopyshamcloudwatchloginspectoffsetstatelessprotocol-buffersrgbmovecloudformationirqchaibatchinternal slotpipesetterbuffersformatassertsspinnerfpsvariables in csselbSymbolqueueMicrotasknativeless.jsBigUint64Arraymochawraptypedarrayscss variableserializeObject.valuesincludesmiddlewareRxcolumnequalityhastapcloudfrontless compileroutputairbnbcsswindowshelperstoSortedRFC-6455walkprunesesreadabletoArraylanguageinterruptselasticachepackage.jsonbindshebanghooksES2018fileStreamscommandnodejsECMAScript 2019lazyObservable
1.0.0

22 days ago