lodash.isempty
Advanced tools
Comparing version 4.1.1 to 4.1.2
12
index.js
/** | ||
* lodash 4.1.1 (Custom Build) <https://lodash.com/> | ||
* lodash 4.1.2 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
@@ -86,3 +86,3 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
* @memberOf _ | ||
* @type Function | ||
* @type {Function} | ||
* @category Lang | ||
@@ -114,3 +114,2 @@ * @param {*} value The value to check. | ||
* @memberOf _ | ||
* @type Function | ||
* @category Lang | ||
@@ -144,3 +143,2 @@ * @param {*} value The value to check. | ||
* @memberOf _ | ||
* @type Function | ||
* @category Lang | ||
@@ -196,3 +194,4 @@ * @param {*} value The value to check. | ||
if (isArrayLike(value) && | ||
(isArray(value) || isString(value) || isFunction(value.splice) || isArguments(value))) { | ||
(isArray(value) || isString(value) || | ||
isFunction(value.splice) || isArguments(value))) { | ||
return !value.length; | ||
@@ -257,3 +256,4 @@ } | ||
function isLength(value) { | ||
return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; | ||
return typeof value == 'number' && | ||
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; | ||
} | ||
@@ -260,0 +260,0 @@ |
{ | ||
"name": "lodash.isempty", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "The lodash method `_.isEmpty` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.isempty v4.1.1 | ||
# lodash.isempty v4.1.2 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.isEmpty` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#isEmpty) or [package source](https://github.com/lodash/lodash/blob/4.1.1-npm-packages/lodash.isempty) for more details. | ||
See the [documentation](https://lodash.com/docs#isEmpty) or [package source](https://github.com/lodash/lodash/blob/4.1.2-npm-packages/lodash.isempty) for more details. |
Sorry, the diff of this file is not supported yet
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
10730