1.0.6 • Published 11 days ago
@teamteanpm2024/ducimus-nostrum-ullam v1.0.6
@teamteanpm2024/ducimus-nostrum-ullam
Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Example
var isWeakSet = require('@teamteanpm2024/ducimus-nostrum-ullam');
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
flatreact-testing-librarydeterministicUint32ArrayutilspicomatchECMAScript 7ObjectpushUint16ArrayexitstructuredClonesharedarraybufferSymboleast-asian-widthshellxssgenericstypedFloat32Arrayinstalltypeofnopejsxmacosfast-deep-cloneeslintplugincss lesstoolkittextcharactercircularsestouchprivateless cssbufferObject.valuescurriedprocesstraverselistenersdiffpropertiesrmdirrgbcjkxhrloggerbabel256linewrapforEachstringhttpInt32Arraytelephonesignalprotocachemochafixed-widthdeepcopyiterateanimationPromisedatatypeerrorIteratores2016expressmixinsdategradients css3breakcore-jsjsonreal-timethrottle_.extendincludesregexES2020matchesECMAScript 2022requirechaichinesepromisesbindawscolourObject.assignvalueguiddescriptorES6characterstypetrimStartinvariantfastclonespecbundlergroupByES8ArrayBuffer#slicespringredux-toolkitclitrimEndreduceratespinnerpluginawaites2018Array.prototype.flattensnspopmotionfunctionregular expressionsbannerequalityflagsmakeajaxinterruptsbrowserutil.inspectES7harmonydirectory@@toStringTagclassessaferemovereact poseestreechromeObject.fromEntriesidlereadsequencemimeenumerabledeletebatchdependency managerkoreanfetchworkspace:*entriesarraysstablequotefolderlimitwindowsworkflowtranspilerobjectargparsesqscryptoArray.prototype.findLastIndexuninstallwidthlimitedhasirqfind-upshebangclassnames3djavascriptes-abstractpropertytakeES2021moveglobinstallernativepreserve-symlinksomitjoipackage managerconfigstarterwatchingtrimLefttoStringTagpnpm9computed-typesmetadataRxroute53protocol-buffersautoscalingelbcallboundkeytoobjectECMAScript 2023look-upstatusreactintrinsicprototypeoncesignalsInt16ArraytranspileMapvalidatordragextendgeterror-handlingfptypesafepromisegetoptsidesearchextramoduleURLSearchParamsruntimefses2017ECMAScript 2016linktestvestthreevalidatehardlinkseslintpasswordcallbacktoArrayelectronecmascriptjson-schema-validatorcall-bindTypedArraymulti-packageconcatMapdependenciesmapJSON-SchemainternalarktypeHyBicloudsearchfastfindquerystringES5StreamRxJSyamlObject.definePropertydataviewboundweaksetgdprstylesschemaRegExp#flagsObservablesmiddlewareES2015deep-copyclass-validatornegativevarmomentcurlSymbol.toStringTagautoprefixercommandES3ttycolumnredactgetOwnPropertyDescriptorkinesisesUint8ClampedArraynodebddflagtslibsomeFunction.prototype.namehandlersfindLastrm -rfagenthookformpropshimzodramda[[Prototype]]writableelasticacheECMAScript 2015s3higher-orderfull-widthrandomexecdefinePropertyeventssimpledbjsonpathECMAScript 2017serializationlibphonenumberassertsjasmineArray.prototype.findLastrmmapreducebootstrap cssString.prototype.trimcss variableCSSfromtypedarrayisConcatSpreadableAsyncIteratorpostcssemroperating-systemauthcollectioncontainsReactiveExtensionstaskes5descriptiontypanionpreprocessorjwtlanguagephoneemojitoolsfast-copytsArray.prototype.flatdebuggerauthenticationcoreopencode pointsnested csswhatwgUnderscorefunctionalmatchAllstyleguidebabel-corelruCSSStyleDeclarationlogsetbyteOffsetspinnersvaluesassertionbytecolumnsupbootstrap lesscloudfrontformatreducerparentECMAScript 2018$.extendfast-clonecloudwatchcloudtrailbyteLengthframerposebluebirdcloudformationfigletcolorsloadingsyntaxconsumelinuxinternal slotl10nthroat0lastresolvesymbolsiteratorpersistentwebfunctionsdeepconcateslintconfigerrorlazymkdirReactiveXgetintrinsices6speedparentsreuseconstRFC-6455make dirvalidhashparsingless mixinssharedcompile lessArrayBufferECMAScript 6loggingpostcss-plugineverymatchviewreact animationtypescriptPushserializermrudynamodbcopywrapmobilehookseslint-pluginJSONexpressionES2022sliceArray.prototype.containschannelvisualprunewgetratelimittestingnodejsgradients cssjapanesenamesSetjeststreamenderObject.keyswalkingshrinkwrapES2016terminalObject.entriesmergerm -frpackagesartinspectperformantbeanstalktc39dataViewTypeScriptarraybufferpolyfillwordbreakYAMLrecursivefiledeepcloneendpointstyled-componentstoSortedreduxnameprivate datanumberuuidiampyyamltapefast-deep-copygetPrototypeOfWeakMapkeysRegExp.prototype.flagsassignpathstreamsstyleacornInt8Arraystringifyinferencepatchconsolewaapilesspackage.jsonless compilerbrowserlistflatMapbalancedgesturespipereadablesuperagentstatelessimmutabledeep-cloneObservablemime-dbvalidationduplexequalscheme-validationbrowserslistBigUint64ArrayStreamsframeworkvpcprogressrfc4122sortconcurrencytrimdatastructureaccessor.envargvprotobufrdsexit-codebcryptfseventssigtermio-tsflatten__proto__less.jsa11ydayjsponyfillsigintimmersyntaxerrorproxycensoreventEmitteroptimistastarrayjson-schema-validationqshasOwnes-shimsextensionrobustArrayBuffer.prototype.sliceurlwatchFilequeryUint8Arraysymlinkssuperstructec2drophelperslengthvariablesescapefullwidthfinduptdddescriptorsprefixtermrangeerrorsettingsjQueryObject.getPrototypeOfstoragegatewayreadablestreamsanitizationObject.istypesinputkarmaArray.prototype.filterhttpsperformancecreateassertdomnegative zeroArray.prototype.flatMapindicatorcommanderECMAScript 2020colorglaciertrimRightxtermebsregularECMAScript 2019WeakSeteventDispatcherstylesheetECMAScript 2021ArraytapsymbolgettercsspackagepositiveStyleSheetminimalutilitiesschemetostringtagasciicallbind-0ESasyncstreams2prettywaitutilityuser-streams
@libphamton/chatfanpage@libphamton/fb-group@oraliepham/api-chat-fanpage-facebook@oraliepham/api-facebooknew@teamteanpm2024/aperiam-dolor-aliquid@teamteanpm2024/aperiam-fugit-error@teamteanpm2024/aperiam-similique-soluta@teamteanpm2024/architecto-alias-quod@teamteanpm2024/asperiores-atque-fugit@teamteanpm2024/aut-voluptatum-vero@teamteanpm2024/beatae-aliquid-id@teamteanpm2024/commodi-illum-occaecati@teamteanpm2024/consequuntur-enim-dignissimos@teamteanpm2024/consequuntur-voluptates-quod@teamteanpm2024/debitis-iure-atque@teamteanpm2024/dolores-beatae-possimus@teamteanpm2024/earum-illum-veniam@teamteanpm2024/earum-ipsam-aspernatur@teamteanpm2024/effective-octo-computing-machine@teamteanpm2024/exercitationem-rem-magni@teamteanpm2024/expedita-labore-ipsum@teamteanpm2024/iste-sapiente-possimus@teamteanpm2024/laudantium-autem-pariatur@teamteanpm2024/legendary-meme@teamteanpm2024/non-tempora-perferendis@teamteanpm2024/nostrum-deleniti-fugit@teamteanpm2024/odio-fugiat-in@teamteanpm2024/odit-voluptatibus-nobis@teamteanpm2024/perspiciatis-a-unde@teamteanpm2024/saepe-in-beatae@teamteanpm2024/sit-optio-enim@teamteanpm2024/temporibus-distinctio-in@teamteanpm2024/voluptate-facere-ducimus@teamteanpm2024/voluptatibus-reprehenderit-oditapi-chat-fanpage-facebookapi-chatfbapi-chatfb-test