1.0.9 • Published 1 year ago

@juigorg/molestias-sit v1.0.9

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

@juigorg/molestias-sit Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Is this value negative zero? === will lie to you.

Example

var isNegativeZero = require('@juigorg/molestias-sit');
var assert = require('assert');

assert.notOk(isNegativeZero(undefined));
assert.notOk(isNegativeZero(null));
assert.notOk(isNegativeZero(false));
assert.notOk(isNegativeZero(true));
assert.notOk(isNegativeZero(0));
assert.notOk(isNegativeZero(42));
assert.notOk(isNegativeZero(Infinity));
assert.notOk(isNegativeZero(-Infinity));
assert.notOk(isNegativeZero(NaN));
assert.notOk(isNegativeZero('foo'));
assert.notOk(isNegativeZero(function () {}));
assert.notOk(isNegativeZero([]));
assert.notOk(isNegativeZero({}));

assert.ok(isNegativeZero(-0));

Tests

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

3dspinnersuuidargsESECMAScript 2022logworkerasciiebsnodejsES2015fixed-widthincludesECMAScript 5dropajaxmomentcolortermESnextmake dircreatedataViewbddchaiUint8ClampedArrayievalueasyncrangeerrorforEachairbnbsuperagentsidecommanderownsharedarraybufferprotobufmakeexecfileform-validationbannercommand-lineemojiprefixestreedeeptyped arrayArray.prototype.findLastIndexminimalgdprcolumnvarsaccessibilityforkignoreprocesscss-in-jsArrayBuffer#slicexhrfsvalidationfeedclassesStyleSheetfetchCSStypedarraytranspilerconfigurableautoscalingbeanstalkdom-testing-libraryreducertrimrulesECMAScript 2023keyslocationjsxcoercibleformattingmkdircomputed-typesswffast@@toStringTagxmlreact-testing-libraryproxysetImmediatefindLastmochafast-clonedatefastcopydescriptortrimRightinstalltypescollectionapolloeslintpluginecmascriptObject.getPrototypeOfuninstallcurriedqsnegative zerospecyamltestingtslibtoolkitshamfull-widthcall-bindsnscircularsetterRxfpslockfilestreamsgraphqlobjgitignoreiteratorECMAScript 6URLSearchParamseslint-pluginserializematchselfregular expressionspruneframeworkmanipulationserializationtoStringTagarraysendpointtoolsfindupargvtrimEndinspectinternal slotworkflowjsdomcodesObject.valuesreact poseRFC-6455colourspringdebuggerrestfulismergecoreYAMLflattenredirectes-shim APIReflect.getPrototypeOfdragcompilerJSON-SchemashimstarterSystem.globalMicrosoftsortcloudtrailschemevalidTypeScriptweakmap-0sesframerjson-schemabytecontainsloggingkoreancopygetPrototypeOfexpressWebSocketszxsearchperformantObject.isHyBiInt32ArrayintrinsicglobalsStreamsvalidatesource maps3directoryes2017storagegatewaymatchAllclassnamesdomArrayBuffer.prototype.sliceES2019ReactiveXwaapisyntaxespreepackage.jsonarrayoutputhastostringtaglengthECMAScript 2021BigUint64Arraystreames7ECMAScriptjshintfast-deep-copy.gitignorerequesthttpURLbyteOffsetassertiongetintrinsicgetOwnPropertyDescriptorfilefindroutersyntaxerrorcloudformationshebangspinnerjson-schema-validatorlook-upsettingsECMAScript 7Function.prototype.namequeueimportexportcurlformflagsArray.prototype.flatmkdirsES7rmdirCSSStyleDeclarationshellidentifierspropgetoptparentsES2023preprocessorposeArray.prototype.findLastentriesnopepackage managerRegExp#flagses8jQueryES5jsonschemapipeutilityArray.prototype.filterrestSymbol.toStringTagiterateclassnameregexpECMAScript 2019varWeakSetkeycloudsearchcolumnslinkhigher-ordercssimmutabletrimStartpromisereduceawshasOwnPropertylibphonenumberRegExp.prototype.flagsbrowserslistES2018colorsrdsES2020schemaroutingapiTypeBoxlruUint8ArrayjsonsetPrototypeOf0deleteglobalcryptoutilitiesacornvestECMAScript 2015SetreacthelperatomgettersliceECMAScript 3ObservablesstablestyleguidelocalFloat32ArrayponyfillbufferswalkmobileObservableRxJStacitchannelttyharmonyparentES8queueMicrotaskfunctionales6writableelbeventspicomatchpyyamlTypedArraytoobjecthas-owneventDispatcherruntimehasOwnpushi18nchinesemoduleshelpersbrowserlist6to5typesafefunctionsenvironmentsextraeslintconfigtoReversedramdapositivefantasy-landreusewindowrfc4122propertyelasticacherapidlistenerstypeerrordependency managerendertransportwhichObject.fromEntriesinternaldefineArray.prototype.containsidreadablestreaminstrumentationpostcss-pluginesES2017transpile_.extendprogressidlehardlinksregexconsumereada11yconstreversemetadatarmextendreact animationexpressioninvariantes2015namesspeedString.prototype.matchAllgroupByloadbalancingclienttypanionfind-upwebaccessornumberhttpsdifftoSortedsortedpostcssmonorepoimporttimetakeelectronreal-timejasmineargumentArraycore-jsObject.entriesprotocol-buffersArray.prototype.flattensafecjkes2016dynamodbsymbolsInt8Arrayfullwidthcheckeast-asian-widthpolyfillqueryquoteoptiontypewaitECMAScript 2017bininstallerlastwhatwgreact-hookstransformchromiumchromeparsercloudwatchgenericsObject.definePropertyglacierObject.assigncode pointsenvironmentlintmoduleassignflagwgetsomees5fastclonepnpm9weaksetcallbackarraybufferstringifiernegativefpECMAScript 2020hooksfile systemredactroutecharacteransijapanesefoldertoArrayECMAScript 2018descriptionobjectdeepcopyxtermjson-schema-validationtc39deep-copywalkingjsutil.inspectmanagerPushsymlinksboundtapES6debugreact-hook-formautoprefixerdeep-clonepurefunctioninferencecloudfrontvariablesbusygetbinaryyupsameValueZeroassertspropertiesWebSocketeslintenumerablezodpackagesguidES3bindviewmovearttrimLeftclijavascriptObjectistanbulAsyncIteratorl10nimmerbinariesquerystringwafgesturesjesthtmldefinePropertywritereversedtelephonebrowserfindLastIndexes2018Streamappregularresolvesubprocessregular-expressionzeroflatconcatMapreduxtestexecperformanceprivate dataflatMapcollection.es6utiltapepluginmapMapfigletterminalcensorastescapeObject.keysclass-validatorprotovisualUint32Arrayemitloggerscheme-validationstylingreadableequalityString.prototype.trimcallArray.prototype.includesnpmignoretextinputdeepclone[[Prototype]]joiES2021structuredCloneajvenvrm -rfconsolearktypeindicatorthreeerrorinoncecharactersphoneeventEmittereffect-tsjsdiffglobbabelsqsrobustformatglobal objectisConcatSpreadableBigInt64Arrayhashlookassertsuperstructregular expressionInt16ArraytraversewidthnameES2022tsamazonstylescommandArrayBuffertypescript$.extenddirfromworkspace:*loadingFloat64ArraysinatraemrECMAScript 2016ES2016animationglobalThisfnmatchprettyletes-abstractvpcmkdirpconcatslotsharedReactiveExtensionsrecursivedescriptorsfullfilterfastifysymbolomites-shimsagenttypedarraysfast-copymapreducergbbyteLengthequalcallboundwarningIterator.envdotenvtddoffsetec2route53coverageclonedeterministicpathvalidatorkarmaexecuteshrinkwrapmatchesoptimizerparseupcall-boundPromisedependenciesrssunicodeWeakMaptypeofcachesimpledbpopmotionJSONchildasterisksuser-streamsdayjshookformstringifypackagebundlerdatavalues256testerconfigfast-deep-cloneformslanguagerequireserializerpatchutilsmulti-packagetypedfunction.lengthredux-toolkitio-tsrm -frgroupeveryiambufferpinostyleprivateremovedataviewprototypenpm__proto__Array.prototype.flatMapsetcomparebundlingoptimistUint16Arraymrukinesisstringbabel-coreefficienturlawesomesauceSymbolUnderscorepoint-freecallbindspawnrandom
1.0.9

1 year ago

1.0.8

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