@hwycdfatm/is-odd 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -41,6 +41,7 @@ module.exports = function isOdd(number) {
41
41
  if (number === 18) return false
42
42
  if (number === 19) return true
43
43
  if (number === 20) return false
44
+ if (number === 21) return true
44
45
 
45
46
  return null
46
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hwycdfatm/is-odd",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "Returns true if a number is odd, false if even, null if not implemented yet (troll version - updates coming soon!)",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",