1.0.0 • Published 1 year ago

@ryniaubenpm/quam-optio-ipsum v1.0.0

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

@ryniaubenpm/quam-optio-ipsum 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('@ryniaubenpm/quam-optio-ipsum');
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

collection.es6compile lesswebsharedqueryenumerableiteratorsetterrandomReactiveXgloballess cssUnderscoremochaemr-0functionES2020installercheckes2016cloudtrailarrayspinneres7Object.definePropertybyteOffsetreadablestreamES2016variables in cssjapanesemkdirpsetreuseECMAScript 2015zeroslicehookscolumnsdebuggerjQuerymatchesAsyncIteratorcreatearraybufferES2015pathlastjavascriptkoreansomeswfchannelmimeJSON-SchemagraphqlminimalWeakMapWebSocketsownawaitwafjsdiffconcurrencyshamsignalsfast-deep-copystringmiddlewareform-validationjsoffsetlengthdirectoryYAMLRFC-6455expressclassnamess3Uint16ArrayArraytraverseMicrosoftemitindicatorauthSettimeECMAScript 7filecompilercloneargparsegetoptstylearraysmkdirssequenceroute53typesafedirparseflatMapHyBiprogressstylingglacierhas-ownnegativeterminalES2017hasOwnPropertydeleteinvariantObject.keyshookformobjectcore-jsbufferfullinternal slotnodejslibphonenumberquotebindInt8Arrayebsartdom-testing-libraryremoveelectronArray.prototype.flatMapReflect.getPrototypeOfspeedless compilergenericstestingargumentbytesettingswhatwgfastifyArray.prototype.findLastIndexvaluejsdommatchstatescheme-validationthrottlereaddeepcopyxhrconfigbyteLengthBigInt64Arrayoperating-systemmapdropreadablenumberreact-hookswalkfastcopystylesheeti18ncomputed-typescurlpromiseinterruptsreactstructuredClonemulti-packagestatelessponyfillcorsdataView.envArray.prototype.filterFunction.prototype.namea11ycontainsfindupformatES2018liveargsfastpostcss-pluginurlmimetypestoucheslintconfigtoSortedjshintlogtrimEndwatchingwordbreakframeworkInt16Arraycoercibleless mixinssyntaxtoolsthroatresolveupcall-boundsuperagentcolumnreduxdeterministiclintprotobufhotmime-dbES3typeofinferencevalidpipeECMAScript 2022kinesisclassnameauthenticationcss nestingnamesformsObjecttermajvObject.isUint32Arrayprotocol-buffersformattingidentifiersphonesharedarraybufferrm -frcachebootstrap lessESastencryptionconnectFloat64Arrayerror-handlinggetterstableObject.fromEntriesfast-clonefoldertypescripttypedes6avastreams2schemacharacterjsonpathguidelmpackage managermakesnsweakmapproxyhashefficientutilityECMAScript 6viewjestdeepclonelesscssstdlibPromisepyyamlObject.assignimportexportairbnbloadbalancingcommand-lineexecArrayBuffer#slicestyled-componentstc39workerpostcssUint8ArrayelasticacheimportestreeArray.prototype.flatomitwaitasciikeysymbolsECMAScript 5findLastIndexshrinkwrapenderelbpackagesesopenmatchAllcopydeep-copyconsumegrouplinewrap__proto__uninstallcallboundspinnersvestschemeprocesscallbindbundlinges-shim APIexpressionECMAScript 2017superstructutilrestiterationECMAScript 2023serializerdeep-cloneObservableisdependenciessqscolorsredactawesomesauceURLSearchParamsbluebirdbreakrmdirmake dirkarmaescapeqsnodenopeArray.prototype.containsbrowserlistES7serialization
1.0.0

1 year ago