1.0.0 • Published 1 year ago

@ffras4vnpm/doloremque-rem-facilis v1.0.0

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

@ffras4vnpm/doloremque-rem-facilis Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

Example

var isWeakSet = require('@ffras4vnpm/doloremque-rem-facilis');
assert(!isWeakSet(function () {}));
assert(!isWeakSet(null));
assert(!isWeakSet(function* () { yield 42; return Infinity; });
assert(!isWeakSet(Symbol('foo')));
assert(!isWeakSet(1n));
assert(!isWeakSet(Object(1n)));

assert(!isWeakSet(new Set()));
assert(!isWeakSet(new WeakMap()));
assert(!isWeakSet(new Map()));

assert(isWeakSet(new WeakSet()));

class MyWeakSet extends WeakSet {}
assert(isWeakSet(new MyWeakSet()));

Tests

Simply clone the repo, npm install, and run npm test

includesassignvalidationObject.getPrototypeOfUint16ArrayequalitymkdirpECMAScript 2019Float32Arrayformatiterationreact poserandomcss lessRxJSstatelesswrapstringtoSortedoptimisteventsirqchromiumArray.prototype.filterespostcssratelimitoptiongetterstarterprefixsyntaxchannelinferencefilequeueMicrotasktypanioncollection.es6arraybufferStreamsgroupByawaitfast-deep-clonerecursiveflattestinglookl10nchaiclassescryptoramdajson-schema-validationserializationregularkeystasksetImmediateparentscallboundtraversechinesedomrgbinterruptssharedarraybuffereslint-plugineslintclassnamesgroupUint8ArrayfastcloneharmonyhasOwnreact animationlistenersttyqsformattingfast-copyshimwalkvaluesES2022typescriptoperating-systemvariablesprocessaccessorcommanderdeepcopyyamltypeerrorauthshrinkwrapencryptiongetPrototypeOflessconfigwhatwgargs3dmiddlewaresanitizeregexposeArray.prototype.findLastIndexparserbabelArrayBuffer.prototype.slicespinnersArray.prototype.flatMapstylesWeakSetObject.isbundlerflagreacttakehookformprototypeforEachbrowserefficientexitfast-clonetc39toucheslintconfigMapes7apiunicodeECMAScript 2023colorstoArraycorsredux-toolkitcharacterssequenceguiditeratorinstallregular expressionstypeWeakMapjsonschemacharacterstablenegative zerohandlerspackagestapepluginmulti-packagefindassertsautoprefixerfile systemvariables in cssinternal slotWebSocketsconsolescheme-validationrmrangeerrorremovebundlingpipejses2018Reflect.getPrototypeOfartinspectcode pointsfunctionserror-handlingarraysquotejson-schemaObservableObject.definePropertybannerenvironmentshebangES5passwordtrimEndopenconcat$.extendauthenticationprunesortreadstylingAsyncIteratordeep-copyastdescriptorsfptacites-shim APIasciiframeworkutilArrayBuffer#slicebatchmatchesjsxjsonpathoncejsonECMAScript 2020BigUint64Arrayfunctionprivate dataRxmkdirbluebirdperformancecall-boundcjkshellTypedArrayutilitiesRegExp.prototype.flagsargvmacosESsearchboundreusewatchingglobdependency managerobjectcreateObject.fromEntriestesterdescriptoruser-streamsstringifierdirectoryhooksArray.prototype.containspurecssgetECMAScript 2022metadatacryptObject.entriesreadablestreamisConcatSpreadableJSON-SchemaconnectSetreal-timeduplextypedarraystrimLefttypesafejson-schema-validatormake dir-0Uint32ArrayspringECMAScript 7parentfigletintrinsicgetoptECMAScript 6envcopyimmerES2023TypeScriptsomenumberratemodulesECMAScript 2021vardeeploadingSymboldeepclonenegativegenericsformutilitymimejsdomequalbreakmovevaluespecmonorepocommand-linefromtypeoftimeArraytapdom-testing-librarynamesworkertrimStartcurlcss-in-jserrorfetchES2018String.prototype.matchAllStreamlanguagecolumnsmoduleaccessibilitygraphqllimitedreducersymbolsfantasy-landfullformseventDispatcherletIteratorfses2015ecmascriptconsumepoint-freermdirio-tsrequireInt32ArraylockfilewaitECMAScript 30querystring.envcall-bindi18nhardlinksgradients css3walkingjsdiffbyteLengthwaapipromisegdpransi_.extendmobileES7configurablees8[[Prototype]]assertcolourwatcherviewxssserializethrottlefastcopypersistentdeterministicrm -frflatMapwgetmixinsprogressobjtexthelpersfast-deep-copyfindLastIndexairbnbMicrosoftweakmapspeedemojiserializerwordwrapECMAScript 5getOwnPropertyDescriptorminimalajvclassnamelimithttpscoercibleform-validationtoStringTagxhrclieventEmitterbabel-corecontainsexpressbyteOffsetInt16Arraywritefind-upvisualdropnode6to5tostringtagES2017arktypecircularES2019es2017CSSUnderscoreargumentexecquerycommandlastSymbol.toStringTagpromisesdatastructureconstschemaReactiveExtensionssuperstructRFC-6455parsebindeslintpluginlogwhichgradients csscorewatchregular expressionsetPrototypeOfpopmotionRegExp#flagsrapidreact-testing-librarylazystyled-componentssameValueZeroPushdescriptionclass-validatorstyleguidecolumnES2020package.jsoncallbackinvariantjapaneseless cssdatajestsuperagentstylestreamsthreees-shimsuuidstatustoolszodajaxreadabletypesarraytranspilerURLSearchParamsutilsentrieshigher-ordergesturesshamiepyyamlphoneinputextraFloat64Arraysettersymbolsettings
1.0.0

1 year ago