documentcloud/underscore — Issue #432: _.isEmpty Behavior on numbers
Author: siyegen
Created: 2012-01-13 07:51:11+00:00
State: open

```javascript
var cow = {a: 1, b: {}, c: []};
_.isEmpty(cow); // returns false
```
isEmpty works fine on objects containing numbers as the only 'non-empty' values

```javascript
_.isEmpty(cow.a); // returns true
```
However the individual k,v of a:1 is considered empty.

I did read through the issues and noted that originally _.isEmpty wasn't intended for strings, so this might be intended. If it's not intended then I have a branch I can make a pull request for.