* Checks if `value` is empty. A value is considered empty unless it is an * `arguments` object, array, string, or jQuery-like collection with a length * greater than `0` or an object with own enumerable properties. * * @static * @memberOf _ * @category Lang * @para
(value)
| 9992 | * // => false |
| 9993 | */ |
| 9994 | function isEmpty(value) { |
| 9995 | if (value == null) { |
| 9996 | return true; |
| 9997 | } |
| 9998 | var length = getLength(value); |
| 9999 | if (isLength(length) && (isArray(value) || isString(value) || isArguments(value) || |
| 10000 | (isObjectLike(value) && isFunction(value.splice)))) { |
| 10001 | return !length; |
| 10002 | } |
| 10003 | return !keys(value).length; |
| 10004 | } |
| 10005 | |
| 10006 | /** |
| 10007 | * Performs a deep comparison between two values to determine if they are |
nothing calls this directly
no test coverage detected