@bbn/bbn 1.0.44 → 1.0.45
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/dist/bundle.js +1 -0
- package/dist/fn/filter.js +1 -0
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -934,6 +934,7 @@
|
|
|
934
934
|
exports.filter = void 0;
|
|
935
935
|
const filter = function (arr, prop, val = null, operator = '=') {
|
|
936
936
|
if (!(0, isArray_4.isArray)(arr)) {
|
|
937
|
+
bbn.fn.log("NOT ARRAY", arr);
|
|
937
938
|
throw new Error('Error in filter: The first argument must be an array');
|
|
938
939
|
}
|
|
939
940
|
let cfg = {};
|
package/dist/fn/filter.js
CHANGED
|
@@ -5,6 +5,7 @@ import { filterToConditions } from './filterToConditions';
|
|
|
5
5
|
import { compareConditions } from './compareConditions';
|
|
6
6
|
const filter = function (arr, prop, val = null, operator = '=') {
|
|
7
7
|
if (!isArray(arr)) {
|
|
8
|
+
bbn.fn.log("NOT ARRAY", arr);
|
|
8
9
|
throw new Error('Error in filter: The first argument must be an array');
|
|
9
10
|
}
|
|
10
11
|
let cfg = {};
|