1.1.9 • Published 1 year ago

@juigorg/temporibus-aperiam v1.1.9

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

@juigorg/temporibus-aperiam Version Badge

github actions coverage License Downloads

npm badge

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

Example

var isMap = require('@juigorg/temporibus-aperiam');
assert(!isMap(function () {}));
assert(!isMap(null));
assert(!isMap(function* () { yield 42; return Infinity; });
assert(!isMap(Symbol('foo')));
assert(!isMap(1n));
assert(!isMap(Object(1n)));

assert(!isMap(new Set()));
assert(!isMap(new WeakSet()));
assert(!isMap(new WeakMap()));

assert(isMap(new Map()));

class MyMap extends Map {}
assert(isMap(new MyMap()));

Tests

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

Object.fromEntriesponyfillextendincludesvpcecmascripttrimStartpostcssminimalpinoglobalsreversedcall-binds3IteratorhtmltypedendergetOwnPropertyDescriptorTypeBoxdescriptorsautoscalingvalidationsetImmediatespecloadbalancingexecutefile systemcreateinvarianttddsliceenvURLSearchParamscloudsearchcommanddeterministicsuperagentcolumnvaluesrmdirxhr__proto__dragUnderscorereact-testing-libraryregexcloudwatchprotoES2019stablecollectionObservableTypedArraysharedarraybuffersimpledbgitignorepackageses8toolsinspectutilpropertycommandererrorphonegraphqlObject.valuesnodejsexpresstelephonestreamjasmineroutingoffsetarraybuffernpmignoreawesomesauceArray.prototype.findLastIndexcoveragejshintignorearraysECMAScript 2021shamperformantsinatraclonetypanionforEachfindupregular-expressionjsonmruprunestoragegatewayprotobufEStypeofbyteLengthprettyqueuecompareglacierequalhookssubprocesstoStringTageveryhasOwnPropertyfastglobal objectfantasy-landfullwidthtrimLeftArray.prototype.filterserializerCSSfull-widthlibphonenumberglobalastclicallboundpackage manageraccessoragentsomesetFunction.prototype.namesettingsenvironmenteventDispatcherObject.entriesglobal this valuewidthfiledirectorybrowserliststyleguideimportexportES2023pyyamlUint32ArrayelbRxJSglobalThisforkhasOwnObject.getPrototypeOffind-upclassnameses-shim APIstringReactiveXmodulepositiveutil.inspectworkspace:*argvqueueMicrotaskobjectAsyncIteratorlengthPushkarmaremoveECMAScript 2019proprsstrimEndsource mapbinarystylecolourregular expressionsframeworksyntaxmergeownnegativeformsprototypelistenersfixed-widthArrayBuffer.prototype.slicecoerciblezxquerystringserializeloggerReflect.getPrototypeOfajaxzodES3flatMapspeedcomputed-typesutilityhashJSONUint8ArrayuuidFloat64Arraydayjschai@@toStringTaginES5transformspinnerstypeArrayexecfileguidpostcss-pluginiteratoroutputfastcopyttyweaksetcharactershttpoptionclientes2016concatMaptypedarrayshigher-ordertostringtagwindowdebugrecursiveES8bindseseventEmitterstreamsconsoleWebSocketsortpolyfillebsfindstructuredClonei18nnumberestreetoobjectidentifierstextdotenvsetterwhatwgtoArrayloadingresolve6to5search256popmotionbddarrayrfc4122mobilerdspropertiesreadablestreamletfromString.prototype.trimchineseSetString.prototype.matchAlles2015validatorwalkhasgetPrototypeOf
1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago