@hwycdfatm/is-odd 0.0.2 → 0.0.3

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
@@ -23,6 +23,7 @@ module.exports = function isOdd(number) {
23
23
 
24
24
  if (number === 1) return true
25
25
  if (number === 2) return false
26
+ if (number === 3) return true
26
27
 
27
28
  return null
28
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hwycdfatm/is-odd",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
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",