1.0.0 • Published 1 year ago

@landmineaknpm/porro-rem-minus v1.0.0

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

@landmineaknpm/porro-rem-minus 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('@landmineaknpm/porro-rem-minus');
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

vpces-abstractexecglaciertypesafeSymbolmetadatasyntaxerrorfastifyzeroes7tapframerjQueryWebSocketsESnextrapidUint8ClampedArrayloggingsameValueZeroES2021parentsdirfunctionalmkdirsdynamodbsliceconcurrencyincludesJSONshamparsewebhookformnested cssscheme-validationstreamsCSSfixed-widthReactiveExtensionswatchFilees2016watcherArray.prototype.flattendropshebangtoArraychannelECMAScript 2023batchreactRxfast-deep-cloneiamcss-in-jsstyled-componentsamazonunicodeswfpasswordnameswalkingES3real-timestoragegatewayjasminefindupiteratedataoffsetmapmkdirpvestcreaterequestObjectBigInt64ArraydayjsmatchargvsqsarraysdeepcloneyuprobusttoolkitUnderscorermterminalaccessorprocessspeedreact-hookshelpersautoscalingserializationsearchtypeofArray.prototype.filterpathnegativeArray.prototype.flatMapworkflowreplayeslintarraybufferwhatwgfastclonecolumnssetterArray.prototype.includescallbindfile systemArrayformfull-widthoperating-systemform-validationES2015lookargumentxtermdefinePropertyhashconsumewarningjsonpathlibphonenumberschemasortedesreadablestreamcollection.es6superstructmake dirreducerfindLastelasticacheprotostdlibstreampatchfpsio-tsAsyncIteratorreadweakmaptoStringTagsespropertycharactersoptiones-shimsauthintrinsicponyfillless compilerreact-testing-libraryshrinkwraplinewrapredactes2018packagebundlinggdprstylechromiumstatefigletcopygetOwnPropertyDescriptortestObject.keysflagsTypeScriptbuffergenericsmobiledotenvclassesfast-deep-copySymbol.toStringTagcloudfrontdeletesidedeep-cloneURLArray.prototype.containsweaksetawsES5functionemojiduplexCSSStyleDeclarationquerystringpropes2015asciithreetypanion[[Prototype]]chrometypeerrormochastreams2assertconnectutilitymakehandlersserializerstringifierregularimportexportredux-toolkitsymbolcommand-linesnsformatpruneclonebrowserwatchvalidatekeydragcolorsES8browserslistroute53matchAlldependency managerjavascriptintypescriptqueueapielbtddtriminternalArray.prototype.findLastprogressES6signaltypesWeakSetfoldernativebyteOffsettsrm -rfsharedutil.inspectcompile lessbinderror-handlingUint8Arrayjsdiffshimpackage.jsonregular expressionsrgbelmtraversenpmratelimitextrapopmotionstatussomelruimportcloudsearchprototypemulti-packagelinkbeanstalkES2020waitjsonerrorgradients cssextensionagentcore-jsbluebirdrecursiveArrayBuffer#slicearrayFloat32Arraylintratebootstrap cssassertionlanguageendpointcall-bindexpressgroupByinvariantfluxsetPrototypeOfestreewordwrapcolor-0classnamethroats3chineseoutputmergelook-uplivehas-ownArray.prototype.findLastIndex3dspinneroncecorstimesetresolveuuidtermconfigInt8Arrayfullmimetypespreprocessorstablelazycorees6limitUint16Arrayimmerlastcommandprotocol-buffersargparseRegExp#flagswgetInt16Arrayes2017diffcollectionspecemit.envassigncensorjestartpostcss-plugintakesignalsobjectcliflatajaxECMAScript 2017linuxString.prototype.matchAllstringifyautoprefixersigintfsreducei18nECMAScript 2018debuggerurlObject.ischaidescriptorssymlinkspackagesreact animationFunction.prototype.namepromiseserializetouchcomputed-typesenderPushlimitedvariablesownquoteprettyyamlgradients css3flattengethardlinksinspectmixinsECMAScript 6nodejsobjschemeregular expressiongetterstructuredCloneupjsxremovepackage manageridleless mixinsbundlerwrapbootstrap lesseslintpluginelectrontrimEndObject.assigneslint-pluginwritedescriptionvariables in cssescapeajvcompilernopefindLastIndexcss lessgetintrinsicECMAScript 2015getopttrimRightrequiresortECMAScript 3deeppostcssdataviewstatelessmatchesloggerURLSearchParamsTypeBoxiterationgetPrototypeOfbusyqsparsingcolourinputexitECMAScript 7formattingarktypekoreanproxyavareact poseArrayBuffer.prototype.slicewatchingconcatpropertiesFloat64Arraymoduledom-testing-libraryinternal slotjapanesecurlSetperformancehookscsslesstoSortedworkspace:*nodeawesomesauce256expressioncloudformationbuffersECMAScript 2022cloudtrailECMAScript 5callboundboundstylesheetrm -frless.jsefficienttextqueueMicrotaskquerysetImmediatefastreact-hook-formjsdomcolumnthrottleeast-asian-widthreadableiterator0karmacircularsyntaxJSON-SchemaObject.valuesguidparsermacossuperagenteveryprivate datafast-clonenegative zerooptimizerArray.prototype.flatassertshttpsecmascriptkeysprivatenamevaluefastcopyInt32ArraysymlinksymbolsRFC-6455consoletypedarraystylesStreamscss nestinglesscssString.prototype.trimcodesttywritableaccessibilitytc39RegExp.prototype.flagsencryptionpredictablewalkisES2016ECMAScript 2020regexpenvmapreducelistenersflatMapinstallerec2sharedarraybuffertyped arraysigtermes5mime-dbdeep-copymomentReflect.getPrototypeOftslibpositiveObservablecall-bounddebugrmdirenvironmenteventssequenceargskinesisES2018ES2022protobufinferenceconcatMapstylinghasOwnPropertyObservablesl10nTypedArraytapeinstalles-shim APIsimpledbopenwordbreakrfc4122whichtypedarrayspyyamlflagspringPromisevalidfullwidthdescriptorirqidArrayBufferpushjoiminimalnumberindicatorstarter@@toStringTagcjkHyBicachepicomatchES7loadbalancingairbnbgraphqlES2017slotcallReactiveXbannerclientObject.getPrototypeOfsafebyteLengthmoveStyleSheetreduxvisualtelephonecontainsphonefileisConcatSpreadableomittostringtagdeterministicfindconfigurableextendfseventsformspersistentimmutablelengthtestingjwtMicrosoftObject.fromEntriespolyfillECMAScript 2021equaltaskcharacterwidthwafUint32Array
1.0.0

1 year ago