apis-return
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -8,3 +8,3 @@ 'use strict'; | ||
return !Object.keys(something).length; | ||
return typeof something === "object" && !Object.keys(something).length; | ||
}; | ||
@@ -11,0 +11,0 @@ |
{ | ||
"name": "apis-return", | ||
"description": "Return value apis helper", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"keywords": ["future", "web", "apis", "unionapi"], | ||
@@ -6,0 +6,0 @@ "author": "Alexey Novikov <v@2dubs.com> (http://2dubs.com)", |
3379