Comparing version 0.1.1 to 0.1.2
@@ -28,3 +28,4 @@ | ||
*/ | ||
is.version = 0.1.1; | ||
is.version = 0.1.2; | ||
@@ -127,4 +128,3 @@ /** | ||
is.decimal = function (value) { | ||
return '[object Number]' === toString.call(value) | ||
&& value % 1 !== 0; | ||
return '[object Number]' === toString.call(value) && value % 1 !== 0; | ||
}; | ||
@@ -387,3 +387,3 @@ | ||
is.le = function (value, other) { | ||
return value < other; | ||
return value <= other; | ||
}; | ||
@@ -390,0 +390,0 @@ |
@@ -22,3 +22,3 @@ { | ||
"main": "is.js", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"devDependencies": {}, | ||
@@ -25,0 +25,0 @@ "engines": { |
@@ -18,7 +18,7 @@ # is | ||
- defined (value) | ||
- divisibleBy (value) | ||
- divisibleBy (value, n) | ||
- element (value) | ||
- empty (value) | ||
- error (value) | ||
- equal (value) | ||
- equal (value, other) | ||
- even (value) | ||
@@ -28,11 +28,11 @@ - false (value) | ||
- hosted (value, host) | ||
- ge (value) | ||
- gt (value) | ||
- ge (value, other) | ||
- gt (value, other) | ||
- instanceof (value, constructor) | ||
- int (value) | ||
- nan (value) | ||
- le (value) | ||
- lt (value) | ||
- maximum (value) | ||
- minimum (value) | ||
- le (value, other) | ||
- lt (value, other) | ||
- maximum (value, others) | ||
- minimum (value, others) | ||
- null (value) | ||
@@ -39,0 +39,0 @@ - number (value) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15649
460