utiller 1.0.202 → 1.0.204

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.
@@ -199,7 +199,7 @@ var Utiller = /*#__PURE__*/function () {
199
199
  if (_lodash["default"].isString(value)) return value;
200
200
  try {
201
201
  var force = _lodash["default"].toString(value);
202
- return _lodash["default"].isEqual(force, "undefined") ? defaultValue : force;
202
+ return this.isOrEquals(force, "", "undefined") ? defaultValue : force;
203
203
  } catch (error) {
204
204
  Util.appendError("448616845454 ".concat(error.message));
205
205
  }
@@ -2201,6 +2201,19 @@ var Utiller = /*#__PURE__*/function () {
2201
2201
  return slice;
2202
2202
  }
2203
2203
 
2204
+ /**
2205
+ * const array1 = [1, 2, 3, 4, 5];
2206
+ * const array2 = [3, 4, 5, 6, 7];
2207
+ * Output: [1, 2]
2208
+ * */
2209
+ }, {
2210
+ key: "getArrayOfInteraction",
2211
+ value: function getArrayOfInteraction(one, two) {
2212
+ return one.filter(function (element) {
2213
+ return !two.includes(element);
2214
+ });
2215
+ }
2216
+
2204
2217
  /**
2205
2218
  *
2206
2219
  * 把array裏面的'指定index' 移動到 '特定index'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utiller",
3
- "version": "1.0.202",
3
+ "version": "1.0.204",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "configerer": "^1.0.11",
14
- "utiller": "^1.0.201",
14
+ "utiller": "^1.0.203",
15
15
  "linepayer": "^1.0.4",
16
16
  "databazer": "^1.0.12",
17
17
  "lodash": "^4.17.20",