1.0.5 • Published 22 days ago

@teamteanpm2024/harum-explicabo-et v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
22 days ago

@teamteanpm2024/harum-explicabo-et 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('@teamteanpm2024/harum-explicabo-et');
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

watchingnegative zeroregexpconnectfile system256propxssbootstrap lesscloudwatchfastcopychromiumcorsenvcopysharedarraybufferECMAScript 2018$.extendairbnbBigUint64ArraystringifystylesparsetypeofstylettyhasOwntrimRightwhichdom-testing-libraryslotcss-in-jsstreams2ArrayBuffer#slicecallboundexpressionentriessortedebsmakegetPrototypeOfwaapibcryptinternalschemecomparedomextrahelperscreatevariablesObjectgenericsimportSymbol.toStringTagmergesortgetoptestreeString.prototype.matchAlleast-asian-widthcolourthrottle-0commandinvarianttoArraylinuxdescriptorslastdirectorycorekinesisdeletecommand-lineexpress_.extendtypedexit-code__proto__iteratortypedarraysloadbalancingratelimitYAMLauthenticationsescallbackpyyamljavascriptprefixoptimizerinferenceyupworkerarraystylingfast-clonereactmacostypesafeECMAScript 2016Array.prototype.filterwordbreakReactiveExtensionsprocesslruqueueMicrotaskECMAScript 2017cloudsearches5WeakMapbyteESminimales2015less compilerreact-hookssetImmediateObject.valuesthreeemrgradients csswritableinspectArray.prototype.flatMaplogstyleguidebindless mixinsagentfast-deep-copyeslintconfigstableformsPushIteratorPromiseaccessorES5jsstylesheetargumentutil.inspect.envclassnamecallUint16Arraycore-jsremoveiamfullwidthclassesgroupBysigintObject.fromEntriesperformancesidesearchexithardlinkssyntaxerrorprogressawesomesaucecodesES2021URLregularWeakSetjestincludessuperagentnopeutilscss lessinstalldirkeyswatchertraversetestingfindkeytypesCSSbyteOffsetInt8Arraytouchsymbolskarmatranspilefantasy-landhandlerstyped arraybreakwarningjasmineObservablestypeupsameValueZeromake dirtoStringTagshimvalidationdatefpsfindLastcolorsrequestmaprgbless.jsmkdirpoffsetES2018react-testing-libraryArray.prototype.includesmatchesendpointurldataviewES2020plugineventEmittera11yRegExp.prototype.flagsECMAScript 5flagflatMappropertieslazymetadataautoscalingprivate dataeverysignalarktypeprivatesnsstyled-componentswaitreact-hook-formprototypeinterruptscoerciblecolumnredux-toolkittrimuninstallcharacterstermio-tspnpm9validatorArray.prototype.containsUint8ClampedArray3djsonarraybufferArrayfindLastIndexframersomeES6parentinhasnamesregular expressionmimeirqsetPrototypeOfwalkes-shimsemitglobtapeuser-streamsFloat64Arraydependency managervaluestextextensiontrimLeftbundlingdeep-copyreuseURLSearchParams[[Prototype]]rm -frconcatMapesoptionpromisesFunction.prototype.namesetterfull-widthlimitedsimpledbconcatjsdiffdiffefficientJSON-SchemaduplexshebangiterateprettyredactnodetypescriptdataViewenumerableUint8ArrayconfigauthreduceassignbddisConcatSpreadableboundcode pointsjQuerydatastructurelibphonenumberlistenersapivalidatenativepostcssless cssbuffersworkspace:*json-schema-validatortelephonenameobjtoobjectgetOwnPropertyDescriptorqueueiearraysinternal slotreadablextermES2015propertycolumnsformattinggrouptimecurriedsliceregexkoreanform
1.0.5

22 days ago

1.0.4

23 days ago

1.0.3

24 days ago

1.0.2

25 days ago

1.0.1

26 days ago

1.0.0

27 days ago