@kizmann/pico-js 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
  }