Skip to content

Commit

Permalink
Merge 2e5f193 into c540af3
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Kifer committed Jan 11, 2016
2 parents c540af3 + 2e5f193 commit c85a9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -52,7 +52,7 @@
}

function isArray(obj){
return typeof obj === 'object' && typeof obj.length === 'number' && toString(obj) === '[object Array]';
return obj != null && typeof obj === 'object' && typeof obj.length === 'number' && toString(obj) === '[object Array]';
}

function isBoolean(obj){
Expand Down

0 comments on commit c85a9b0

Please sign in to comment.