@bbn/bbn 1.0.60 → 1.0.61

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 CHANGED
@@ -105,8 +105,10 @@
105
105
  if (!args.length) {
106
106
  return false;
107
107
  }
108
- for (let i = 0; i < args.length; i++) {
109
- if (!args[i] || !(typeof args[i] === "object") || Symbol.iterator in Object(args[i])) {
108
+ for (let a of args) {
109
+ if (!a ||
110
+ typeof a !== "object" ||
111
+ Symbol.iterator in Object(a)) {
110
112
  return false;
111
113
  }
112
114
  }
@@ -27,8 +27,10 @@ const isIterable = function (...args) {
27
27
  if (!args.length) {
28
28
  return false;
29
29
  }
30
- for (let i = 0; i < args.length; i++) {
31
- if (!args[i] || !(typeof args[i] === "object") || Symbol.iterator in Object(args[i])) {
30
+ for (let a of args) {
31
+ if (!a ||
32
+ typeof a !== "object" ||
33
+ Symbol.iterator in Object(a)) {
32
34
  return false;
33
35
  }
34
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",