1.0.0 • Published 1 year ago

@saoviettest/aut-ex-corporis-sint v1.0.0

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

@saoviettest/aut-ex-corporis-sint 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('@saoviettest/aut-ex-corporis-sint');
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

Object.definePropertywatchFilefastclonefast-deep-clonespinnersmkdirsMicrosoftdiffcall-binddatacompile lesscoerciblemodulelimitcharactersmkdirpchecknamestypedarrayslook-upformsprotobuffseventsminimalflatMapECMAScript 2018Object.getPrototypeOfwatcheslint-pluginownweb_.extendshelltrimStartperformancepersistentextendtraversetostringtagarraybuffertypeofoffsetomitcompilerenumerabledomECMAScript 2023typescriptduplexutilitieseast-asian-widthflagsidlekeysSymbolemitbootstrap cssdefinePropertyparsingtoStringTagwritetaptouchpushkeyvisualECMAScript 2019typanionString.prototype.trimshamdescriptorsvalidatejsutilitycallbackelectronstructuredCloneinstallerregular expressionfastifyObservablesloadbalancingtaskURLSearchParamsdom-testing-libraryquoteresolveentriesconnectspinnerfindupcode pointshasOwnECMAScript 2017Reflect.getPrototypeOfwalkESsomeJSONsetPrototypeOfWebSocketsoptimizerbufferssymbollengthastES3sortedStreamschemachromiumtextstylespostcss-plugines8toArrayasciiArray.prototype.filterargparseurlinwafargswordwrapunicodechromematcheshasOwnPropertyTypedArrayajaxmake dirsyntaxcircularprettytddflattencreatenopeexeccloudfrontcallboundwgetespreecorsArray.prototype.flatcontainsprefixinstallarrayeslintconfiglanguageworkspace:*dirloadingisConcatSpreadableterminalartFloat64ArrayArrayBuffer#sliceecmascripttermsameValueZeromapjwtbeanstalkform-validationweaksetaccessibilitybannerperformantthrottlecolorscloudwatchsortCSSArray.prototype.containsbluebirdbundlerReactiveXObject.valuesnamedebuggerapidataviewagentdatetyped arrayeveryjsxredirectieroutingES2022jasminevariablesshrinkwraptypesaferoute53awsnative.envrm -frECMAScript 7airbnbpicomatchgdprUint32ArrayPromiseuptestinginternal slotfoldermulti-packagereact-testing-librarytapeawesomesaucevariables in csstslibdeepcopycollectioncolorvestregexpgraphqltc39redactrmdirfigletcloudsearchsuperstructsetImmediatecloudformationgetOwnPropertyDescriptorpostcssreact-hookscollection.es6routel10nECMAScript 2016es6package managerinvariantconfigurablebrowserlisteventDispatcherTypeBoxhttp256tsshimfast-cloneES7Array.prototype.includespreprocessorObject.entriespasswordgetterpackagedebugjsonpathiterateutilsettingsArray.prototype.findLastIndexstatelessmomentvalidationconcurrencyregularjoimimetypesequalmetadataes2016WeakSetreducerpolyfillfpssymlinksprogressdeletecliiterationdeepdependency managerpositivettycorerateinferencepipeFloat32ArraybyteOffseta11yspeedrequestfunctionalString.prototype.matchAllassertes2015cjkECMAScript 6batchebslooktypeerrornested csssetiamUnderscorehas-ownjestlimitedes2017authenticationkinesisclassnamesnegative zerolockfileassertionemrvalueglacieropenPushdatastructureqscloudtrailregular expressionscommandloggingtelephonefiltercolumnthroatcsskoreanobjectidmatchECMAScript 2022css-in-jsmkdirRxJSjavascriptfunctionwritablecomparetrimRighttypesStreamspathviewreusefindLastfastbddchinesestylestreamBigInt64ArraysideinternalajvenvironmentencryptionoptionES2019stringifierquerystringlibphonenumberreduxdropObservablepredictablecurlES2016protocol-bufferses-abstracteventEmitterstringconcatMapwarningArrayBufferreduceless cssless compilerarraysmoduleszodbundlingoncetypesymlinkenv@@toStringTagjQueryECMAScript 3shebangjsdiffhooksconfigmergehookformsharedarraybuffernodeclassescss lessendpointES2020eslintpluginbootstrap lessformattinghelpersemojidependenciesES2021sesfastcopyefficientes-shimscolumnsflagscheme-validationnpmqueryES2018RFC-6455commandercharacterbusycachetrimEndio-tshashxhrlinkreadablereal-timelogreadcodeseventsreactES2017descriptores7prunextermfind-upCSSStyleDeclaration$.extendguidcall-boundansiautoscalingMapimportexporttesterstylingrm -rfqueueMicrotaskmochalinewrapchaiyupforEachdescriptionsyntaxerrormoveuuidcensoreslintdotenvpropRegExp#flagshardlinksstreamsmonorepoqueuelessdayjsTypeScriptproxyexpressionnumberAsyncIteratordirectoryfull-widthreact-hook-formObject.assignHyBiYAMLstyled-componentsreplayimmutablecoloursharedponyfilloptimistelbES80concattypedarraywaitrfc4122ES2023class-validatorfluxfromECMAScript 2015phonefindLastIndexescapeclassnamecomputed-typesInt16Arrayhotclientconsumelazygradients cssassigntoSortedWebSocketchannellintcss nestingremoveloggermobilevaluesargumentIteratorgetPrototypeOfpackage.jsonwatcherhigher-orderlivecryptoframeworkapolloparentstringifyArray.prototype.flatMapcommand-linebrowserregexdataViewUint8ClampedArrayReactiveExtensionsasyncdeep-cloneparentsless.jsfullwidthlrus3byte
1.0.0

1 year ago