@stryke/types 0.5.1 → 0.6.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.
- package/README.md +16 -14
- package/dist/{utility-types/array.d.ts → array.d.ts} +0 -12
- package/dist/{utility-types/async.d.ts → async.d.ts} +1 -11
- package/dist/{utility-types/base.d.ts → base.d.ts} +23 -31
- package/dist/index.cjs +181 -16
- package/dist/index.d.ts +19 -4
- package/dist/index.mjs +1 -1
- package/dist/{utility-types/json.d.ts → json.d.ts} +0 -10
- package/dist/{utility-types/number.d.ts → number.d.ts} +0 -22
- package/dist/{utility-types/object.d.ts → object.d.ts} +1 -15
- package/dist/{utility-types/package-json.d.ts → package-json.d.ts} +3 -5
- package/dist/{utility-types/string.d.ts → string.d.ts} +0 -12
- package/dist/{utility-types/tsconfig.d.ts → tsconfig.d.ts} +0 -2
- package/dist/{utility-types/utilities.d.ts → utilities.d.ts} +1 -1
- package/dist/validations.cjs +1 -0
- package/dist/validations.mjs +0 -0
- package/package.json +125 -987
- package/dist/convert/buffer-to-string.cjs +0 -8
- package/dist/convert/buffer-to-string.d.ts +0 -1
- package/dist/convert/buffer-to-string.mjs +0 -1
- package/dist/convert/index.cjs +0 -71
- package/dist/convert/index.d.ts +0 -6
- package/dist/convert/index.mjs +0 -1
- package/dist/convert/string-to-uint8-array.cjs +0 -8
- package/dist/convert/string-to-uint8-array.d.ts +0 -7
- package/dist/convert/string-to-uint8-array.mjs +0 -1
- package/dist/convert/to-array.cjs +0 -9
- package/dist/convert/to-array.d.ts +0 -8
- package/dist/convert/to-array.mjs +0 -1
- package/dist/convert/to-string-key.cjs +0 -9
- package/dist/convert/to-string-key.d.ts +0 -7
- package/dist/convert/to-string-key.mjs +0 -1
- package/dist/convert/uint8-array-to-string.cjs +0 -8
- package/dist/convert/uint8-array-to-string.d.ts +0 -13
- package/dist/convert/uint8-array-to-string.mjs +0 -1
- package/dist/convert/utf8-array-to-string.cjs +0 -8
- package/dist/convert/utf8-array-to-string.d.ts +0 -13
- package/dist/convert/utf8-array-to-string.mjs +0 -1
- package/dist/helpers/index.cjs +0 -16
- package/dist/helpers/index.d.ts +0 -1
- package/dist/helpers/index.mjs +0 -1
- package/dist/helpers/parse-type-definition.cjs +0 -33
- package/dist/helpers/parse-type-definition.d.ts +0 -8
- package/dist/helpers/parse-type-definition.mjs +0 -1
- package/dist/type-checks/get-object-tag.cjs +0 -8
- package/dist/type-checks/get-object-tag.d.ts +0 -7
- package/dist/type-checks/get-object-tag.mjs +0 -1
- package/dist/type-checks/index.cjs +0 -456
- package/dist/type-checks/index.d.ts +0 -41
- package/dist/type-checks/index.mjs +0 -1
- package/dist/type-checks/is-array-like.cjs +0 -11
- package/dist/type-checks/is-array-like.d.ts +0 -7
- package/dist/type-checks/is-array-like.mjs +0 -1
- package/dist/type-checks/is-async-iterable.cjs +0 -10
- package/dist/type-checks/is-async-iterable.d.ts +0 -7
- package/dist/type-checks/is-async-iterable.mjs +0 -1
- package/dist/type-checks/is-bigint.cjs +0 -9
- package/dist/type-checks/is-bigint.d.ts +0 -16
- package/dist/type-checks/is-bigint.mjs +0 -1
- package/dist/type-checks/is-boolean.cjs +0 -14
- package/dist/type-checks/is-boolean.d.ts +0 -7
- package/dist/type-checks/is-boolean.mjs +0 -1
- package/dist/type-checks/is-buffer.cjs +0 -10
- package/dist/type-checks/is-buffer.d.ts +0 -5
- package/dist/type-checks/is-buffer.mjs +0 -1
- package/dist/type-checks/is-collection.cjs +0 -11
- package/dist/type-checks/is-collection.d.ts +0 -8
- package/dist/type-checks/is-collection.mjs +0 -1
- package/dist/type-checks/is-date.cjs +0 -10
- package/dist/type-checks/is-date.d.ts +0 -16
- package/dist/type-checks/is-date.mjs +0 -1
- package/dist/type-checks/is-deep-key.cjs +0 -26
- package/dist/type-checks/is-deep-key.d.ts +0 -35
- package/dist/type-checks/is-deep-key.mjs +0 -1
- package/dist/type-checks/is-empty-object.cjs +0 -23
- package/dist/type-checks/is-empty-object.d.ts +0 -14
- package/dist/type-checks/is-empty-object.mjs +0 -1
- package/dist/type-checks/is-empty-string.cjs +0 -16
- package/dist/type-checks/is-empty-string.d.ts +0 -7
- package/dist/type-checks/is-empty-string.mjs +0 -1
- package/dist/type-checks/is-empty.cjs +0 -35
- package/dist/type-checks/is-empty.d.ts +0 -8
- package/dist/type-checks/is-empty.mjs +0 -1
- package/dist/type-checks/is-equal.cjs +0 -18
- package/dist/type-checks/is-equal.d.ts +0 -1
- package/dist/type-checks/is-equal.mjs +0 -1
- package/dist/type-checks/is-error.cjs +0 -15
- package/dist/type-checks/is-error.d.ts +0 -17
- package/dist/type-checks/is-error.mjs +0 -1
- package/dist/type-checks/is-file-result.cjs +0 -11
- package/dist/type-checks/is-file-result.d.ts +0 -8
- package/dist/type-checks/is-file-result.mjs +0 -1
- package/dist/type-checks/is-float.cjs +0 -9
- package/dist/type-checks/is-float.d.ts +0 -8
- package/dist/type-checks/is-float.mjs +0 -1
- package/dist/type-checks/is-function.cjs +0 -23
- package/dist/type-checks/is-function.d.ts +0 -10
- package/dist/type-checks/is-function.mjs +0 -1
- package/dist/type-checks/is-integer.cjs +0 -10
- package/dist/type-checks/is-integer.d.ts +0 -8
- package/dist/type-checks/is-integer.mjs +0 -1
- package/dist/type-checks/is-mergeable-object.cjs +0 -14
- package/dist/type-checks/is-mergeable-object.d.ts +0 -1
- package/dist/type-checks/is-mergeable-object.mjs +0 -1
- package/dist/type-checks/is-non-null-object.cjs +0 -10
- package/dist/type-checks/is-non-null-object.d.ts +0 -7
- package/dist/type-checks/is-non-null-object.mjs +0 -1
- package/dist/type-checks/is-not-empty.cjs +0 -17
- package/dist/type-checks/is-not-empty.d.ts +0 -7
- package/dist/type-checks/is-not-empty.mjs +0 -1
- package/dist/type-checks/is-null.cjs +0 -14
- package/dist/type-checks/is-null.d.ts +0 -1
- package/dist/type-checks/is-null.mjs +0 -1
- package/dist/type-checks/is-number.cjs +0 -19
- package/dist/type-checks/is-number.d.ts +0 -15
- package/dist/type-checks/is-number.mjs +0 -1
- package/dist/type-checks/is-object-index.cjs +0 -17
- package/dist/type-checks/is-object-index.d.ts +0 -7
- package/dist/type-checks/is-object-index.mjs +0 -1
- package/dist/type-checks/is-object.cjs +0 -30
- package/dist/type-checks/is-object.d.ts +0 -30
- package/dist/type-checks/is-object.mjs +0 -1
- package/dist/type-checks/is-plain-object.cjs +0 -17
- package/dist/type-checks/is-plain-object.d.ts +0 -50
- package/dist/type-checks/is-plain-object.mjs +0 -1
- package/dist/type-checks/is-primitive.cjs +0 -14
- package/dist/type-checks/is-primitive.d.ts +0 -1
- package/dist/type-checks/is-primitive.mjs +0 -1
- package/dist/type-checks/is-promise.cjs +0 -12
- package/dist/type-checks/is-promise.d.ts +0 -17
- package/dist/type-checks/is-promise.mjs +0 -1
- package/dist/type-checks/is-react-element.cjs +0 -8
- package/dist/type-checks/is-react-element.d.ts +0 -1
- package/dist/type-checks/is-react-element.mjs +0 -1
- package/dist/type-checks/is-ref.cjs +0 -14
- package/dist/type-checks/is-ref.d.ts +0 -8
- package/dist/type-checks/is-ref.mjs +0 -1
- package/dist/type-checks/is-regexp.cjs +0 -10
- package/dist/type-checks/is-regexp.d.ts +0 -16
- package/dist/type-checks/is-regexp.mjs +0 -1
- package/dist/type-checks/is-select-option.cjs +0 -15
- package/dist/type-checks/is-select-option.d.ts +0 -8
- package/dist/type-checks/is-select-option.mjs +0 -1
- package/dist/type-checks/is-set-object.cjs +0 -15
- package/dist/type-checks/is-set-object.d.ts +0 -7
- package/dist/type-checks/is-set-object.mjs +0 -1
- package/dist/type-checks/is-set-string.cjs +0 -16
- package/dist/type-checks/is-set-string.d.ts +0 -7
- package/dist/type-checks/is-set-string.mjs +0 -1
- package/dist/type-checks/is-set.cjs +0 -15
- package/dist/type-checks/is-set.d.ts +0 -7
- package/dist/type-checks/is-set.mjs +0 -1
- package/dist/type-checks/is-string.cjs +0 -14
- package/dist/type-checks/is-string.d.ts +0 -1
- package/dist/type-checks/is-string.mjs +0 -1
- package/dist/type-checks/is-symbol.cjs +0 -14
- package/dist/type-checks/is-symbol.d.ts +0 -1
- package/dist/type-checks/is-symbol.mjs +0 -1
- package/dist/type-checks/is-typed-array.cjs +0 -9
- package/dist/type-checks/is-typed-array.d.ts +0 -1
- package/dist/type-checks/is-typed-array.mjs +0 -1
- package/dist/type-checks/is-typed.cjs +0 -16
- package/dist/type-checks/is-typed.d.ts +0 -8
- package/dist/type-checks/is-typed.mjs +0 -1
- package/dist/type-checks/is-undefined.cjs +0 -8
- package/dist/type-checks/is-undefined.d.ts +0 -1
- package/dist/type-checks/is-undefined.mjs +0 -1
- package/dist/type-checks/property-exists.cjs +0 -17
- package/dist/type-checks/property-exists.d.ts +0 -16
- package/dist/type-checks/property-exists.mjs +0 -1
- package/dist/type-checks/type-detect.cjs +0 -38
- package/dist/type-checks/type-detect.d.ts +0 -1
- package/dist/type-checks/type-detect.mjs +0 -1
- package/dist/utility-types/array.cjs +0 -9
- package/dist/utility-types/array.mjs +0 -1
- package/dist/utility-types/index.cjs +0 -214
- package/dist/utility-types/index.d.ts +0 -19
- package/dist/utility-types/index.mjs +0 -1
- /package/dist/{utility-types/async.cjs → array.cjs} +0 -0
- /package/dist/{utility-types/async.mjs → array.mjs} +0 -0
- /package/dist/{utility-types/configuration.cjs → async.cjs} +0 -0
- /package/dist/{utility-types/configuration.mjs → async.mjs} +0 -0
- /package/dist/{utility-types/base.cjs → base.cjs} +0 -0
- /package/dist/{utility-types/base.mjs → base.mjs} +0 -0
- /package/dist/{utility-types/form.cjs → configuration.cjs} +0 -0
- /package/dist/{utility-types/configuration.d.ts → configuration.d.ts} +0 -0
- /package/dist/{utility-types/form.mjs → configuration.mjs} +0 -0
- /package/dist/{utility-types/file.cjs → file.cjs} +0 -0
- /package/dist/{utility-types/file.d.ts → file.d.ts} +0 -0
- /package/dist/{utility-types/file.mjs → file.mjs} +0 -0
- /package/dist/{utility-types/json.cjs → form.cjs} +0 -0
- /package/dist/{utility-types/form.d.ts → form.d.ts} +0 -0
- /package/dist/{utility-types/json.mjs → form.mjs} +0 -0
- /package/dist/{utility-types/logic.cjs → json.cjs} +0 -0
- /package/dist/{utility-types/logic.mjs → json.mjs} +0 -0
- /package/dist/{utility-types/navigator.cjs → logic.cjs} +0 -0
- /package/dist/{utility-types/logic.d.ts → logic.d.ts} +0 -0
- /package/dist/{utility-types/navigator.mjs → logic.mjs} +0 -0
- /package/dist/{utility-types/messages.cjs → messages.cjs} +0 -0
- /package/dist/{utility-types/messages.d.ts → messages.d.ts} +0 -0
- /package/dist/{utility-types/messages.mjs → messages.mjs} +0 -0
- /package/dist/{utility-types/number.cjs → navigator.cjs} +0 -0
- /package/dist/{utility-types/navigator.d.ts → navigator.d.ts} +0 -0
- /package/dist/{utility-types/number.mjs → navigator.mjs} +0 -0
- /package/dist/{utility-types/object.cjs → number.cjs} +0 -0
- /package/dist/{utility-types/object.mjs → number.mjs} +0 -0
- /package/dist/{utility-types/package-json.cjs → object.cjs} +0 -0
- /package/dist/{utility-types/package-json.mjs → object.mjs} +0 -0
- /package/dist/{utility-types/string.cjs → package-json.cjs} +0 -0
- /package/dist/{utility-types/string.mjs → package-json.mjs} +0 -0
- /package/dist/{utility-types/package-manager.cjs → package-manager.cjs} +0 -0
- /package/dist/{utility-types/package-manager.d.ts → package-manager.d.ts} +0 -0
- /package/dist/{utility-types/package-manager.mjs → package-manager.mjs} +0 -0
- /package/dist/{utility-types/system.cjs → string.cjs} +0 -0
- /package/dist/{utility-types/system.mjs → string.mjs} +0 -0
- /package/dist/{utility-types/tsconfig.cjs → system.cjs} +0 -0
- /package/dist/{utility-types/system.d.ts → system.d.ts} +0 -0
- /package/dist/{utility-types/tsconfig.mjs → system.mjs} +0 -0
- /package/dist/{utility-types/utilities.cjs → tsconfig.cjs} +0 -0
- /package/dist/{utility-types/utilities.mjs → tsconfig.mjs} +0 -0
- /package/dist/{utility-types/user.cjs → user.cjs} +0 -0
- /package/dist/{utility-types/user.d.ts → user.d.ts} +0 -0
- /package/dist/{utility-types/user.mjs → user.mjs} +0 -0
- /package/dist/{utility-types/validations.cjs → utilities.cjs} +0 -0
- /package/dist/{utility-types/validations.mjs → utilities.mjs} +0 -0
- /package/dist/{utility-types/validations.d.ts → validations.d.ts} +0 -0
|
@@ -1,456 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _getObjectTag = require("./get-object-tag.cjs");
|
|
7
|
-
Object.keys(_getObjectTag).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _getObjectTag[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _getObjectTag[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _isArrayLike = require("./is-array-like.cjs");
|
|
18
|
-
Object.keys(_isArrayLike).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _isArrayLike[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _isArrayLike[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _isAsyncIterable = require("./is-async-iterable.cjs");
|
|
29
|
-
Object.keys(_isAsyncIterable).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _isAsyncIterable[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () {
|
|
35
|
-
return _isAsyncIterable[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
var _isBigint = require("./is-bigint.cjs");
|
|
40
|
-
Object.keys(_isBigint).forEach(function (key) {
|
|
41
|
-
if (key === "default" || key === "__esModule") return;
|
|
42
|
-
if (key in exports && exports[key] === _isBigint[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return _isBigint[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
var _isBoolean = require("./is-boolean.cjs");
|
|
51
|
-
Object.keys(_isBoolean).forEach(function (key) {
|
|
52
|
-
if (key === "default" || key === "__esModule") return;
|
|
53
|
-
if (key in exports && exports[key] === _isBoolean[key]) return;
|
|
54
|
-
Object.defineProperty(exports, key, {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _isBoolean[key];
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
var _isBuffer = require("./is-buffer.cjs");
|
|
62
|
-
Object.keys(_isBuffer).forEach(function (key) {
|
|
63
|
-
if (key === "default" || key === "__esModule") return;
|
|
64
|
-
if (key in exports && exports[key] === _isBuffer[key]) return;
|
|
65
|
-
Object.defineProperty(exports, key, {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function () {
|
|
68
|
-
return _isBuffer[key];
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
var _isCollection = require("./is-collection.cjs");
|
|
73
|
-
Object.keys(_isCollection).forEach(function (key) {
|
|
74
|
-
if (key === "default" || key === "__esModule") return;
|
|
75
|
-
if (key in exports && exports[key] === _isCollection[key]) return;
|
|
76
|
-
Object.defineProperty(exports, key, {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function () {
|
|
79
|
-
return _isCollection[key];
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
var _isDate = require("./is-date.cjs");
|
|
84
|
-
Object.keys(_isDate).forEach(function (key) {
|
|
85
|
-
if (key === "default" || key === "__esModule") return;
|
|
86
|
-
if (key in exports && exports[key] === _isDate[key]) return;
|
|
87
|
-
Object.defineProperty(exports, key, {
|
|
88
|
-
enumerable: true,
|
|
89
|
-
get: function () {
|
|
90
|
-
return _isDate[key];
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
var _isDeepKey = require("./is-deep-key.cjs");
|
|
95
|
-
Object.keys(_isDeepKey).forEach(function (key) {
|
|
96
|
-
if (key === "default" || key === "__esModule") return;
|
|
97
|
-
if (key in exports && exports[key] === _isDeepKey[key]) return;
|
|
98
|
-
Object.defineProperty(exports, key, {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function () {
|
|
101
|
-
return _isDeepKey[key];
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
var _isEmpty = require("./is-empty.cjs");
|
|
106
|
-
Object.keys(_isEmpty).forEach(function (key) {
|
|
107
|
-
if (key === "default" || key === "__esModule") return;
|
|
108
|
-
if (key in exports && exports[key] === _isEmpty[key]) return;
|
|
109
|
-
Object.defineProperty(exports, key, {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: function () {
|
|
112
|
-
return _isEmpty[key];
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
});
|
|
116
|
-
var _isEmptyObject = require("./is-empty-object.cjs");
|
|
117
|
-
Object.keys(_isEmptyObject).forEach(function (key) {
|
|
118
|
-
if (key === "default" || key === "__esModule") return;
|
|
119
|
-
if (key in exports && exports[key] === _isEmptyObject[key]) return;
|
|
120
|
-
Object.defineProperty(exports, key, {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return _isEmptyObject[key];
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
var _isEmptyString = require("./is-empty-string.cjs");
|
|
128
|
-
Object.keys(_isEmptyString).forEach(function (key) {
|
|
129
|
-
if (key === "default" || key === "__esModule") return;
|
|
130
|
-
if (key in exports && exports[key] === _isEmptyString[key]) return;
|
|
131
|
-
Object.defineProperty(exports, key, {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
get: function () {
|
|
134
|
-
return _isEmptyString[key];
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
var _isEqual = require("./is-equal.cjs");
|
|
139
|
-
Object.keys(_isEqual).forEach(function (key) {
|
|
140
|
-
if (key === "default" || key === "__esModule") return;
|
|
141
|
-
if (key in exports && exports[key] === _isEqual[key]) return;
|
|
142
|
-
Object.defineProperty(exports, key, {
|
|
143
|
-
enumerable: true,
|
|
144
|
-
get: function () {
|
|
145
|
-
return _isEqual[key];
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
});
|
|
149
|
-
var _isError = require("./is-error.cjs");
|
|
150
|
-
Object.keys(_isError).forEach(function (key) {
|
|
151
|
-
if (key === "default" || key === "__esModule") return;
|
|
152
|
-
if (key in exports && exports[key] === _isError[key]) return;
|
|
153
|
-
Object.defineProperty(exports, key, {
|
|
154
|
-
enumerable: true,
|
|
155
|
-
get: function () {
|
|
156
|
-
return _isError[key];
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
});
|
|
160
|
-
var _isFileResult = require("./is-file-result.cjs");
|
|
161
|
-
Object.keys(_isFileResult).forEach(function (key) {
|
|
162
|
-
if (key === "default" || key === "__esModule") return;
|
|
163
|
-
if (key in exports && exports[key] === _isFileResult[key]) return;
|
|
164
|
-
Object.defineProperty(exports, key, {
|
|
165
|
-
enumerable: true,
|
|
166
|
-
get: function () {
|
|
167
|
-
return _isFileResult[key];
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
var _isFloat = require("./is-float.cjs");
|
|
172
|
-
Object.keys(_isFloat).forEach(function (key) {
|
|
173
|
-
if (key === "default" || key === "__esModule") return;
|
|
174
|
-
if (key in exports && exports[key] === _isFloat[key]) return;
|
|
175
|
-
Object.defineProperty(exports, key, {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function () {
|
|
178
|
-
return _isFloat[key];
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
});
|
|
182
|
-
var _isFunction = require("./is-function.cjs");
|
|
183
|
-
Object.keys(_isFunction).forEach(function (key) {
|
|
184
|
-
if (key === "default" || key === "__esModule") return;
|
|
185
|
-
if (key in exports && exports[key] === _isFunction[key]) return;
|
|
186
|
-
Object.defineProperty(exports, key, {
|
|
187
|
-
enumerable: true,
|
|
188
|
-
get: function () {
|
|
189
|
-
return _isFunction[key];
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
});
|
|
193
|
-
var _isInteger = require("./is-integer.cjs");
|
|
194
|
-
Object.keys(_isInteger).forEach(function (key) {
|
|
195
|
-
if (key === "default" || key === "__esModule") return;
|
|
196
|
-
if (key in exports && exports[key] === _isInteger[key]) return;
|
|
197
|
-
Object.defineProperty(exports, key, {
|
|
198
|
-
enumerable: true,
|
|
199
|
-
get: function () {
|
|
200
|
-
return _isInteger[key];
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
});
|
|
204
|
-
var _isMergeableObject = require("./is-mergeable-object.cjs");
|
|
205
|
-
Object.keys(_isMergeableObject).forEach(function (key) {
|
|
206
|
-
if (key === "default" || key === "__esModule") return;
|
|
207
|
-
if (key in exports && exports[key] === _isMergeableObject[key]) return;
|
|
208
|
-
Object.defineProperty(exports, key, {
|
|
209
|
-
enumerable: true,
|
|
210
|
-
get: function () {
|
|
211
|
-
return _isMergeableObject[key];
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
});
|
|
215
|
-
var _isNotEmpty = require("./is-not-empty.cjs");
|
|
216
|
-
Object.keys(_isNotEmpty).forEach(function (key) {
|
|
217
|
-
if (key === "default" || key === "__esModule") return;
|
|
218
|
-
if (key in exports && exports[key] === _isNotEmpty[key]) return;
|
|
219
|
-
Object.defineProperty(exports, key, {
|
|
220
|
-
enumerable: true,
|
|
221
|
-
get: function () {
|
|
222
|
-
return _isNotEmpty[key];
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
});
|
|
226
|
-
var _isNull = require("./is-null.cjs");
|
|
227
|
-
Object.keys(_isNull).forEach(function (key) {
|
|
228
|
-
if (key === "default" || key === "__esModule") return;
|
|
229
|
-
if (key in exports && exports[key] === _isNull[key]) return;
|
|
230
|
-
Object.defineProperty(exports, key, {
|
|
231
|
-
enumerable: true,
|
|
232
|
-
get: function () {
|
|
233
|
-
return _isNull[key];
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
});
|
|
237
|
-
var _isNumber = require("./is-number.cjs");
|
|
238
|
-
Object.keys(_isNumber).forEach(function (key) {
|
|
239
|
-
if (key === "default" || key === "__esModule") return;
|
|
240
|
-
if (key in exports && exports[key] === _isNumber[key]) return;
|
|
241
|
-
Object.defineProperty(exports, key, {
|
|
242
|
-
enumerable: true,
|
|
243
|
-
get: function () {
|
|
244
|
-
return _isNumber[key];
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
});
|
|
248
|
-
var _isObject = require("./is-object.cjs");
|
|
249
|
-
Object.keys(_isObject).forEach(function (key) {
|
|
250
|
-
if (key === "default" || key === "__esModule") return;
|
|
251
|
-
if (key in exports && exports[key] === _isObject[key]) return;
|
|
252
|
-
Object.defineProperty(exports, key, {
|
|
253
|
-
enumerable: true,
|
|
254
|
-
get: function () {
|
|
255
|
-
return _isObject[key];
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
});
|
|
259
|
-
var _isObjectIndex = require("./is-object-index.cjs");
|
|
260
|
-
Object.keys(_isObjectIndex).forEach(function (key) {
|
|
261
|
-
if (key === "default" || key === "__esModule") return;
|
|
262
|
-
if (key in exports && exports[key] === _isObjectIndex[key]) return;
|
|
263
|
-
Object.defineProperty(exports, key, {
|
|
264
|
-
enumerable: true,
|
|
265
|
-
get: function () {
|
|
266
|
-
return _isObjectIndex[key];
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
});
|
|
270
|
-
var _isPlainObject = require("./is-plain-object.cjs");
|
|
271
|
-
Object.keys(_isPlainObject).forEach(function (key) {
|
|
272
|
-
if (key === "default" || key === "__esModule") return;
|
|
273
|
-
if (key in exports && exports[key] === _isPlainObject[key]) return;
|
|
274
|
-
Object.defineProperty(exports, key, {
|
|
275
|
-
enumerable: true,
|
|
276
|
-
get: function () {
|
|
277
|
-
return _isPlainObject[key];
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
var _isPrimitive = require("./is-primitive.cjs");
|
|
282
|
-
Object.keys(_isPrimitive).forEach(function (key) {
|
|
283
|
-
if (key === "default" || key === "__esModule") return;
|
|
284
|
-
if (key in exports && exports[key] === _isPrimitive[key]) return;
|
|
285
|
-
Object.defineProperty(exports, key, {
|
|
286
|
-
enumerable: true,
|
|
287
|
-
get: function () {
|
|
288
|
-
return _isPrimitive[key];
|
|
289
|
-
}
|
|
290
|
-
});
|
|
291
|
-
});
|
|
292
|
-
var _isPromise = require("./is-promise.cjs");
|
|
293
|
-
Object.keys(_isPromise).forEach(function (key) {
|
|
294
|
-
if (key === "default" || key === "__esModule") return;
|
|
295
|
-
if (key in exports && exports[key] === _isPromise[key]) return;
|
|
296
|
-
Object.defineProperty(exports, key, {
|
|
297
|
-
enumerable: true,
|
|
298
|
-
get: function () {
|
|
299
|
-
return _isPromise[key];
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
|
-
});
|
|
303
|
-
var _isReactElement = require("./is-react-element.cjs");
|
|
304
|
-
Object.keys(_isReactElement).forEach(function (key) {
|
|
305
|
-
if (key === "default" || key === "__esModule") return;
|
|
306
|
-
if (key in exports && exports[key] === _isReactElement[key]) return;
|
|
307
|
-
Object.defineProperty(exports, key, {
|
|
308
|
-
enumerable: true,
|
|
309
|
-
get: function () {
|
|
310
|
-
return _isReactElement[key];
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
});
|
|
314
|
-
var _isRef = require("./is-ref.cjs");
|
|
315
|
-
Object.keys(_isRef).forEach(function (key) {
|
|
316
|
-
if (key === "default" || key === "__esModule") return;
|
|
317
|
-
if (key in exports && exports[key] === _isRef[key]) return;
|
|
318
|
-
Object.defineProperty(exports, key, {
|
|
319
|
-
enumerable: true,
|
|
320
|
-
get: function () {
|
|
321
|
-
return _isRef[key];
|
|
322
|
-
}
|
|
323
|
-
});
|
|
324
|
-
});
|
|
325
|
-
var _isRegexp = require("./is-regexp.cjs");
|
|
326
|
-
Object.keys(_isRegexp).forEach(function (key) {
|
|
327
|
-
if (key === "default" || key === "__esModule") return;
|
|
328
|
-
if (key in exports && exports[key] === _isRegexp[key]) return;
|
|
329
|
-
Object.defineProperty(exports, key, {
|
|
330
|
-
enumerable: true,
|
|
331
|
-
get: function () {
|
|
332
|
-
return _isRegexp[key];
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
});
|
|
336
|
-
var _isSelectOption = require("./is-select-option.cjs");
|
|
337
|
-
Object.keys(_isSelectOption).forEach(function (key) {
|
|
338
|
-
if (key === "default" || key === "__esModule") return;
|
|
339
|
-
if (key in exports && exports[key] === _isSelectOption[key]) return;
|
|
340
|
-
Object.defineProperty(exports, key, {
|
|
341
|
-
enumerable: true,
|
|
342
|
-
get: function () {
|
|
343
|
-
return _isSelectOption[key];
|
|
344
|
-
}
|
|
345
|
-
});
|
|
346
|
-
});
|
|
347
|
-
var _isSet = require("./is-set.cjs");
|
|
348
|
-
Object.keys(_isSet).forEach(function (key) {
|
|
349
|
-
if (key === "default" || key === "__esModule") return;
|
|
350
|
-
if (key in exports && exports[key] === _isSet[key]) return;
|
|
351
|
-
Object.defineProperty(exports, key, {
|
|
352
|
-
enumerable: true,
|
|
353
|
-
get: function () {
|
|
354
|
-
return _isSet[key];
|
|
355
|
-
}
|
|
356
|
-
});
|
|
357
|
-
});
|
|
358
|
-
var _isSetObject = require("./is-set-object.cjs");
|
|
359
|
-
Object.keys(_isSetObject).forEach(function (key) {
|
|
360
|
-
if (key === "default" || key === "__esModule") return;
|
|
361
|
-
if (key in exports && exports[key] === _isSetObject[key]) return;
|
|
362
|
-
Object.defineProperty(exports, key, {
|
|
363
|
-
enumerable: true,
|
|
364
|
-
get: function () {
|
|
365
|
-
return _isSetObject[key];
|
|
366
|
-
}
|
|
367
|
-
});
|
|
368
|
-
});
|
|
369
|
-
var _isSetString = require("./is-set-string.cjs");
|
|
370
|
-
Object.keys(_isSetString).forEach(function (key) {
|
|
371
|
-
if (key === "default" || key === "__esModule") return;
|
|
372
|
-
if (key in exports && exports[key] === _isSetString[key]) return;
|
|
373
|
-
Object.defineProperty(exports, key, {
|
|
374
|
-
enumerable: true,
|
|
375
|
-
get: function () {
|
|
376
|
-
return _isSetString[key];
|
|
377
|
-
}
|
|
378
|
-
});
|
|
379
|
-
});
|
|
380
|
-
var _isString = require("./is-string.cjs");
|
|
381
|
-
Object.keys(_isString).forEach(function (key) {
|
|
382
|
-
if (key === "default" || key === "__esModule") return;
|
|
383
|
-
if (key in exports && exports[key] === _isString[key]) return;
|
|
384
|
-
Object.defineProperty(exports, key, {
|
|
385
|
-
enumerable: true,
|
|
386
|
-
get: function () {
|
|
387
|
-
return _isString[key];
|
|
388
|
-
}
|
|
389
|
-
});
|
|
390
|
-
});
|
|
391
|
-
var _isSymbol = require("./is-symbol.cjs");
|
|
392
|
-
Object.keys(_isSymbol).forEach(function (key) {
|
|
393
|
-
if (key === "default" || key === "__esModule") return;
|
|
394
|
-
if (key in exports && exports[key] === _isSymbol[key]) return;
|
|
395
|
-
Object.defineProperty(exports, key, {
|
|
396
|
-
enumerable: true,
|
|
397
|
-
get: function () {
|
|
398
|
-
return _isSymbol[key];
|
|
399
|
-
}
|
|
400
|
-
});
|
|
401
|
-
});
|
|
402
|
-
var _isTyped = require("./is-typed.cjs");
|
|
403
|
-
Object.keys(_isTyped).forEach(function (key) {
|
|
404
|
-
if (key === "default" || key === "__esModule") return;
|
|
405
|
-
if (key in exports && exports[key] === _isTyped[key]) return;
|
|
406
|
-
Object.defineProperty(exports, key, {
|
|
407
|
-
enumerable: true,
|
|
408
|
-
get: function () {
|
|
409
|
-
return _isTyped[key];
|
|
410
|
-
}
|
|
411
|
-
});
|
|
412
|
-
});
|
|
413
|
-
var _isTypedArray = require("./is-typed-array.cjs");
|
|
414
|
-
Object.keys(_isTypedArray).forEach(function (key) {
|
|
415
|
-
if (key === "default" || key === "__esModule") return;
|
|
416
|
-
if (key in exports && exports[key] === _isTypedArray[key]) return;
|
|
417
|
-
Object.defineProperty(exports, key, {
|
|
418
|
-
enumerable: true,
|
|
419
|
-
get: function () {
|
|
420
|
-
return _isTypedArray[key];
|
|
421
|
-
}
|
|
422
|
-
});
|
|
423
|
-
});
|
|
424
|
-
var _isUndefined = require("./is-undefined.cjs");
|
|
425
|
-
Object.keys(_isUndefined).forEach(function (key) {
|
|
426
|
-
if (key === "default" || key === "__esModule") return;
|
|
427
|
-
if (key in exports && exports[key] === _isUndefined[key]) return;
|
|
428
|
-
Object.defineProperty(exports, key, {
|
|
429
|
-
enumerable: true,
|
|
430
|
-
get: function () {
|
|
431
|
-
return _isUndefined[key];
|
|
432
|
-
}
|
|
433
|
-
});
|
|
434
|
-
});
|
|
435
|
-
var _propertyExists = require("./property-exists.cjs");
|
|
436
|
-
Object.keys(_propertyExists).forEach(function (key) {
|
|
437
|
-
if (key === "default" || key === "__esModule") return;
|
|
438
|
-
if (key in exports && exports[key] === _propertyExists[key]) return;
|
|
439
|
-
Object.defineProperty(exports, key, {
|
|
440
|
-
enumerable: true,
|
|
441
|
-
get: function () {
|
|
442
|
-
return _propertyExists[key];
|
|
443
|
-
}
|
|
444
|
-
});
|
|
445
|
-
});
|
|
446
|
-
var _typeDetect = require("./type-detect.cjs");
|
|
447
|
-
Object.keys(_typeDetect).forEach(function (key) {
|
|
448
|
-
if (key === "default" || key === "__esModule") return;
|
|
449
|
-
if (key in exports && exports[key] === _typeDetect[key]) return;
|
|
450
|
-
Object.defineProperty(exports, key, {
|
|
451
|
-
enumerable: true,
|
|
452
|
-
get: function () {
|
|
453
|
-
return _typeDetect[key];
|
|
454
|
-
}
|
|
455
|
-
});
|
|
456
|
-
});
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export * from "./get-object-tag";
|
|
2
|
-
export * from "./is-array-like";
|
|
3
|
-
export * from "./is-async-iterable";
|
|
4
|
-
export * from "./is-bigint";
|
|
5
|
-
export * from "./is-boolean";
|
|
6
|
-
export * from "./is-buffer";
|
|
7
|
-
export * from "./is-collection";
|
|
8
|
-
export * from "./is-date";
|
|
9
|
-
export * from "./is-deep-key";
|
|
10
|
-
export * from "./is-empty";
|
|
11
|
-
export * from "./is-empty-object";
|
|
12
|
-
export * from "./is-empty-string";
|
|
13
|
-
export * from "./is-equal";
|
|
14
|
-
export * from "./is-error";
|
|
15
|
-
export * from "./is-file-result";
|
|
16
|
-
export * from "./is-float";
|
|
17
|
-
export * from "./is-function";
|
|
18
|
-
export * from "./is-integer";
|
|
19
|
-
export * from "./is-mergeable-object";
|
|
20
|
-
export * from "./is-not-empty";
|
|
21
|
-
export * from "./is-null";
|
|
22
|
-
export * from "./is-number";
|
|
23
|
-
export * from "./is-object";
|
|
24
|
-
export * from "./is-object-index";
|
|
25
|
-
export * from "./is-plain-object";
|
|
26
|
-
export * from "./is-primitive";
|
|
27
|
-
export * from "./is-promise";
|
|
28
|
-
export * from "./is-react-element";
|
|
29
|
-
export * from "./is-ref";
|
|
30
|
-
export * from "./is-regexp";
|
|
31
|
-
export * from "./is-select-option";
|
|
32
|
-
export * from "./is-set";
|
|
33
|
-
export * from "./is-set-object";
|
|
34
|
-
export * from "./is-set-string";
|
|
35
|
-
export * from "./is-string";
|
|
36
|
-
export * from "./is-symbol";
|
|
37
|
-
export * from "./is-typed";
|
|
38
|
-
export * from "./is-typed-array";
|
|
39
|
-
export * from "./is-undefined";
|
|
40
|
-
export * from "./property-exists";
|
|
41
|
-
export * from "./type-detect";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"./get-object-tag";export*from"./is-array-like";export*from"./is-async-iterable";export*from"./is-bigint";export*from"./is-boolean";export*from"./is-buffer";export*from"./is-collection";export*from"./is-date";export*from"./is-deep-key";export*from"./is-empty";export*from"./is-empty-object";export*from"./is-empty-string";export*from"./is-equal";export*from"./is-error";export*from"./is-file-result";export*from"./is-float";export*from"./is-function";export*from"./is-integer";export*from"./is-mergeable-object";export*from"./is-not-empty";export*from"./is-null";export*from"./is-number";export*from"./is-object";export*from"./is-object-index";export*from"./is-plain-object";export*from"./is-primitive";export*from"./is-promise";export*from"./is-react-element";export*from"./is-ref";export*from"./is-regexp";export*from"./is-select-option";export*from"./is-set";export*from"./is-set-object";export*from"./is-set-string";export*from"./is-string";export*from"./is-symbol";export*from"./is-typed";export*from"./is-typed-array";export*from"./is-undefined";export*from"./property-exists";export*from"./type-detect";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isArrayLike = void 0;
|
|
7
|
-
var _isEmpty = require("./is-empty.cjs");
|
|
8
|
-
var _isNumber = require("./is-number.cjs");
|
|
9
|
-
var _isObject = require("./is-object.cjs");
|
|
10
|
-
const isArrayLike = t => (0, _isObject.isObject)(t) && !(0, _isEmpty.isEmpty)(t) && "length" in t && (0, _isNumber.isNumber)(t.length) && (t.length === 0 || t.length > 0 && Object.prototype.hasOwnProperty.call(t, t.length - 1));
|
|
11
|
-
exports.isArrayLike = isArrayLike;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{isEmpty as r}from"./is-empty";import{isNumber as o}from"./is-number";import{isObject as n}from"./is-object";export const isArrayLike=t=>n(t)&&!r(t)&&"length"in t&&o(t.length)&&(t.length===0||t.length>0&&Object.prototype.hasOwnProperty.call(t,t.length-1));
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isAsyncIterable = void 0;
|
|
7
|
-
var _isNull = require("./is-null.cjs");
|
|
8
|
-
var _isObject = require("./is-object.cjs");
|
|
9
|
-
const isAsyncIterable = n => (0, _isObject.isObject)(n) && !(0, _isNull.isNull)(n) && Symbol.asyncIterator in n;
|
|
10
|
-
exports.isAsyncIterable = isAsyncIterable;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Check if the provided value's type is `AsyncIterable`
|
|
3
|
-
*
|
|
4
|
-
* @param value - The value to type check
|
|
5
|
-
* @returns An indicator specifying if the object provided is `AsyncIterable`
|
|
6
|
-
*/
|
|
7
|
-
export declare const isAsyncIterable: (value: unknown) => value is AsyncIterable<unknown>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{isNull as r}from"./is-null";import{isObject as o}from"./is-object";export const isAsyncIterable=n=>o(n)&&!r(n)&&Symbol.asyncIterator in n;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isBigInt = void 0;
|
|
7
|
-
var _getObjectTag = require("./get-object-tag.cjs");
|
|
8
|
-
const isBigInt = t => typeof t == "bigint" || (0, _getObjectTag.getObjectTag)(t) == "[object BigInt]";
|
|
9
|
-
exports.isBigInt = isBigInt;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checks if `value` is classified as a `bigint` object.
|
|
3
|
-
*
|
|
4
|
-
* @example
|
|
5
|
-
* ```typescript
|
|
6
|
-
* isDate(37n)
|
|
7
|
-
* // => true
|
|
8
|
-
*
|
|
9
|
-
* isBigInt(37)
|
|
10
|
-
* // => false
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
* @param value - The obj to check.
|
|
14
|
-
* @returns Returns `true` if `value` is a bigint object, else `false`.
|
|
15
|
-
*/
|
|
16
|
-
export declare const isBigInt: (value: unknown) => value is bigint;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getObjectTag as i}from"./get-object-tag";export const isBigInt=t=>typeof t=="bigint"||i(t)=="[object BigInt]";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isBoolean = void 0;
|
|
7
|
-
const isBoolean = o => {
|
|
8
|
-
try {
|
|
9
|
-
return o instanceof Boolean || typeof o == "boolean" || !!o === o;
|
|
10
|
-
} catch {
|
|
11
|
-
return !1;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
exports.isBoolean = isBoolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const isBoolean=o=>{try{return o instanceof Boolean||typeof o=="boolean"||!!o===o}catch{return!1}};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isBufferExists = exports.isBuffer = void 0;
|
|
7
|
-
const isBufferExists = exports.isBufferExists = typeof Buffer < "u",
|
|
8
|
-
isBuffer = exports.isBuffer = isBufferExists ? Buffer.isBuffer.bind(Buffer) : function (e) {
|
|
9
|
-
return !1;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const isBufferExists=typeof Buffer<"u",isBuffer=isBufferExists?Buffer.isBuffer.bind(Buffer):function(e){return!1};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isCollection = isCollection;
|
|
7
|
-
var _typeDetect = require("./type-detect.cjs");
|
|
8
|
-
const o = new Set(["Arguments", "Array", "Map", "Object", "Set"]);
|
|
9
|
-
function isCollection(t) {
|
|
10
|
-
return o.has((0, _typeDetect.typeDetect)(t));
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Collection } from "../utility-types/base";
|
|
2
|
-
/**
|
|
3
|
-
* Check if the provided value's type is `Collection`
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the value provided is of type `Collection`
|
|
7
|
-
*/
|
|
8
|
-
export declare function isCollection(value: any): value is Collection;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{typeDetect as e}from"./type-detect";const o=new Set(["Arguments","Array","Map","Object","Set"]);export function isCollection(t){return o.has(e(t))}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isDate = void 0;
|
|
7
|
-
var _getObjectTag = require("./get-object-tag.cjs");
|
|
8
|
-
var _isPlainObject = require("./is-plain-object.cjs");
|
|
9
|
-
const isDate = t => (0, _isPlainObject.isObjectLike)(t) && (0, _getObjectTag.getObjectTag)(t) == "[object Date]";
|
|
10
|
-
exports.isDate = isDate;
|