@kizmann/pico-js 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/pico-js",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,
@@ -122,6 +122,10 @@ export class Arr
122
122
  {
123
123
  return Any.keys(arr).filter((key) => {
124
124
 
125
+ if ( typeof filter === "undefined" ) {
126
+ return ! Any.isEmpty(arr[key]);
127
+ }
128
+
125
129
  if ( Any.isFunction(filter) ) {
126
130
  return filter.call({}, arr[key], key);
127
131
  }