1.0.5 • Published 11 days ago

@teamteanpm2024/cum-voluptatem-autem v1.0.5

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

@teamteanpm2024/cum-voluptatem-autem 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/cum-voluptatem-autem');
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

IteratoroffsetmaprateArray.prototype.flattenastArray.prototype.flatjavascriptwindows$.extendefficientfixed-widthmobilebindsimpledbObject.entriesURLSearchParamsconcatbyteLengthomitjsdomInt32Arrayregexprgbescapees-abstracthookformjsdiffemrfullpreprocessorhigher-orderwordwrapfastSymbolhooksawesomesaucemixinsponyfilltypetoolkitArray.prototype.flatMapECMAScript 2019ECMAScript 6ECMAScript 2020safetraverseinternalargumentlesspopmotionString.prototype.matchAllclassnamesboundclifolderless cssMapECMAScript 7streamstypedarraysaccessorfunctionflatMapperformantRFC-6455superagentuser-streamsstylesheettelephonemacossymbolseslintpluginbootstrap lessconfigurablewatchFilecryptlook-upreact animationtypanionfigletreact-testing-libraryimportconnectgetPrototypeOfprotobufsettingsnopewalkReflect.getPrototypeOfdomeventEmitterstoragegatewaysignalscolorsless compilerwidthqsbannerObject.definePropertygetterairbnbonceWebSocketsobjectflatsnscss-in-jsjwtsortedes8warningregular expressionsInt8ArraysequencetypesduplexmoveCSSES5mochaparsingclonereadtapeautoscalingtoSortedObjectloggingdescriptorquotecharacterstatelessmapreducefileprotocol-buffersisrobustkarmaflagutilityes5createoptimizerexpressionjoiString.prototype.trimsuperstructdiffrfc4122classesArrayBuffer.prototype.slicematcheswritefseventsmetadatafastcloneframeworkencryptionArray.prototype.findLastIndeximmutablecurriedhas-ownObject.fromEntriesconcatMapbyte0babelcolumntestingdrageventDispatchersetPrototypeOfAsyncIteratorsidetextdirectoryshrinkwraptranspileviewfetchshellsyntaxArrayBuffer#sliceES2023react posebuffersvestargparseresolvenumberwaapideepi18nchineseargvTypedArrayyamljQueryqueueMicrotaskagentcore-jstyped arrayfindchaipicomatchobjTypeScriptlazyTypeBoxsharedcodesdatastructurejasminecallbackvalueutil.inspectconcurrencypruneramdacommandtranspilerspeedcontainsUint8ClampedArraycjkcollection.es6valuesforEachcommand-linedeep-copysetterfunctional
1.0.5

11 days ago

1.0.4

12 days ago

1.0.3

13 days ago

1.0.2

14 days ago

1.0.1

15 days ago

1.0.0

15 days ago