idea-toolbox
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -80,3 +80,3 @@ "use strict"; | ||
else if (field instanceof Array) | ||
return field.length <= 0; | ||
return field.filter((i) => !this.isEmpty(i)).length <= 0; | ||
else | ||
@@ -83,0 +83,0 @@ return true; |
{ | ||
"name": "idea-toolbox", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "IDEA's utility functions", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -78,3 +78,4 @@ import Fs = require('fs') | ||
return Object.prototype.toString.call(d) !== '[object Date]' | ||
} else if(field instanceof Array) return field.length <= 0; | ||
} else if(field instanceof Array) | ||
return field.filter((i: any) => !this.isEmpty(i)).length <= 0; | ||
else return true; | ||
@@ -81,0 +82,0 @@ } |
3922006
3725