Travis build: 833 [cron]

This commit is contained in:
30secondsofcode
2018-11-22 14:23:54 +00:00
parent 4c1c112c3d
commit 932f9f87ed
9 changed files with 1643 additions and 1587 deletions

View File

@ -2173,6 +2173,21 @@
"hash": "e23c295c6c1d85cbeae2cfad15be98d3d8093ba59266f14af7dc47d19a68f43b"
}
},
{
"id": "isNegativeZero",
"type": "snippetListing",
"attributes": {
"tags": [
"math",
"utility",
"beginner"
],
"archived": false
},
"meta": {
"hash": "c70f4e3b631a99000fc48ff1f7716b9b32652e707c2421b688715533ad316e6c"
}
},
{
"id": "isNil",
"type": "snippetListing",

View File

@ -3202,6 +3202,28 @@
"hash": "e23c295c6c1d85cbeae2cfad15be98d3d8093ba59266f14af7dc47d19a68f43b"
}
},
{
"id": "isNegativeZero",
"type": "snippet",
"attributes": {
"fileName": "isNegativeZero.md",
"text": "Checks if the given value is equal to negative zero (`-0`).\n\nChecks whether a passed value is equal to `0` and if `1` divided by the value equals `-Infinity`.",
"codeBlocks": {
"es6": "const isNegativeZero = val => val === 0 && 1 / val === -Infinity;",
"es5": "var isNegativeZero = function isNegativeZero(val) {\n return val === 0 && 1 / val === -Infinity;\n};",
"example": "isNegativeZero(-0); // true\nisNegativeZero(0); // false"
},
"tags": [
"math",
"utility",
"beginner"
]
},
"meta": {
"archived": false,
"hash": "c70f4e3b631a99000fc48ff1f7716b9b32652e707c2421b688715533ad316e6c"
}
},
{
"id": "isNil",
"type": "snippet",