@visactor/vtable-export 1.18.7 → 1.19.0

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.
@@ -13,17 +13,13 @@
13
13
  const isType = (value, type) => Object.prototype.toString.call(value) === `[object ${type}]`;
14
14
  var isType$1 = isType;
15
15
 
16
- const isBoolean = function (value) {
17
- let fuzzy = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
18
- return fuzzy ? "boolean" == typeof value : !0 === value || !1 === value || isType$1(value, "Boolean");
19
- };
16
+ const isBoolean = (value, fuzzy = !1) => fuzzy ? "boolean" == typeof value : !0 === value || !1 === value || isType$1(value, "Boolean");
20
17
  var isBoolean$1 = isBoolean;
21
18
 
22
19
  const isValid = value => null != value;
23
20
  var isValid$1 = isValid;
24
21
 
25
- const isString = function (value) {
26
- let fuzzy = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
22
+ const isString = (value, fuzzy = !1) => {
27
23
  const type = typeof value;
28
24
  return fuzzy ? "string" === type : "string" === type || isType$1(value, "String");
29
25
  };
@@ -35,8 +31,7 @@
35
31
  const isDate = value => isType$1(value, "Date");
36
32
  var isDate$1 = isDate;
37
33
 
38
- const isNumber = function (value) {
39
- let fuzzy = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
34
+ const isNumber = (value, fuzzy = !1) => {
40
35
  const type = typeof value;
41
36
  return fuzzy ? "number" === type : "number" === type || isType$1(value, "Number");
42
37
  };