umt 2.1.0 → 2.1.2
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/module/Consts/httpStatus/httpClientErrorStatus.d.ts +28 -0
- package/module/Consts/httpStatus/httpClientErrorStatus.js +27 -0
- package/module/Consts/httpStatus/httpClientErrorStatus.js.map +1 -0
- package/module/Consts/httpStatus/httpInformationalStatus.d.ts +8 -0
- package/module/Consts/httpStatus/httpInformationalStatus.js +7 -0
- package/module/Consts/httpStatus/httpInformationalStatus.js.map +1 -0
- package/module/Consts/httpStatus/httpRedirectionStatus.d.ts +11 -0
- package/module/Consts/httpStatus/httpRedirectionStatus.js +10 -0
- package/module/Consts/httpStatus/httpRedirectionStatus.js.map +1 -0
- package/module/Consts/httpStatus/httpServerErrorStatus.d.ts +10 -0
- package/module/Consts/httpStatus/httpServerErrorStatus.js +9 -0
- package/module/Consts/httpStatus/httpServerErrorStatus.js.map +1 -0
- package/module/Consts/httpStatus/httpSuccessStatus.d.ts +11 -0
- package/module/Consts/httpStatus/httpSuccessStatus.js +10 -0
- package/module/Consts/httpStatus/httpSuccessStatus.js.map +1 -0
- package/module/Consts/httpStatus/index.d.ts +57 -0
- package/module/Consts/httpStatus/index.js +18 -0
- package/module/Consts/httpStatus/index.js.map +1 -0
- package/module/Consts/index.d.ts +1 -0
- package/module/Consts/index.js +1 -0
- package/module/Consts/index.js.map +1 -1
- package/module/IP/index.d.ts +1 -0
- package/module/IP/index.js +1 -0
- package/module/IP/index.js.map +1 -1
- package/module/Math/index.d.ts +1 -0
- package/module/Math/index.js +1 -0
- package/module/Math/index.js.map +1 -1
- package/module/String/index.d.ts +2 -1
- package/module/String/index.js +2 -1
- package/module/String/index.js.map +1 -1
- package/module/Time/convertTime.d.ts +2 -1
- package/module/Time/convertTime.js +5 -2
- package/module/Time/convertTime.js.map +1 -1
- package/module/Time/index.d.ts +1 -0
- package/module/Time/index.js +1 -0
- package/module/Time/index.js.map +1 -1
- package/module/Time/normalizeTimeUnit.d.ts +10 -0
- package/module/Time/normalizeTimeUnit.js +14 -0
- package/module/Time/normalizeTimeUnit.js.map +1 -0
- package/module/Unit/index.d.ts +1 -0
- package/module/Unit/index.js +2 -0
- package/module/Unit/index.js.map +1 -0
- package/module/Unit/unitConverterInitialization.d.ts +1 -0
- package/module/Unit/unitConverterInitialization.js +4 -0
- package/module/Unit/unitConverterInitialization.js.map +1 -0
- package/module/Validate/index.d.ts +2 -1
- package/module/Validate/index.js +2 -1
- package/module/Validate/index.js.map +1 -1
- package/module/Validate/isDictionaryObject.d.ts +10 -0
- package/module/Validate/isDictionaryObject.js +11 -0
- package/module/Validate/isDictionaryObject.js.map +1 -0
- package/module/Validate/isEqual.d.ts +23 -0
- package/module/Validate/isEqual.js +24 -0
- package/module/Validate/isEqual.js.map +1 -0
- package/module/Validate/object/core.js +2 -2
- package/module/Validate/object/core.js.map +1 -1
- package/module/es5/Consts/httpStatus/httpClientErrorStatus.d.ts +28 -0
- package/module/es5/Consts/httpStatus/httpClientErrorStatus.js +32 -0
- package/module/es5/Consts/httpStatus/httpInformationalStatus.d.ts +8 -0
- package/module/es5/Consts/httpStatus/httpInformationalStatus.js +12 -0
- package/module/es5/Consts/httpStatus/httpRedirectionStatus.d.ts +11 -0
- package/module/es5/Consts/httpStatus/httpRedirectionStatus.js +15 -0
- package/module/es5/Consts/httpStatus/httpServerErrorStatus.d.ts +10 -0
- package/module/es5/Consts/httpStatus/httpServerErrorStatus.js +14 -0
- package/module/es5/Consts/httpStatus/httpSuccessStatus.d.ts +11 -0
- package/module/es5/Consts/httpStatus/httpSuccessStatus.js +15 -0
- package/module/es5/Consts/httpStatus/index.d.ts +57 -0
- package/module/es5/Consts/httpStatus/index.js +48 -0
- package/module/es5/Consts/index.d.ts +1 -0
- package/module/es5/Consts/index.js +11 -0
- package/module/es5/IP/index.d.ts +1 -0
- package/module/es5/IP/index.js +11 -0
- package/module/es5/Math/index.d.ts +1 -0
- package/module/es5/Math/index.js +11 -0
- package/module/es5/String/index.d.ts +2 -1
- package/module/es5/String/index.js +22 -11
- package/module/es5/Time/convertTime.d.ts +2 -1
- package/module/es5/Time/convertTime.js +5 -2
- package/module/es5/Time/index.d.ts +1 -0
- package/module/es5/Time/index.js +11 -0
- package/module/es5/Time/normalizeTimeUnit.d.ts +10 -0
- package/module/es5/Time/normalizeTimeUnit.js +51 -0
- package/module/es5/Unit/index.d.ts +1 -0
- package/module/es5/Unit/index.js +16 -0
- package/module/es5/Unit/unitConverterInitialization.d.ts +1 -0
- package/module/es5/Unit/unitConverterInitialization.js +13 -0
- package/module/es5/Validate/index.d.ts +2 -1
- package/module/es5/Validate/index.js +22 -11
- package/module/es5/Validate/isDictionaryObject.d.ts +10 -0
- package/module/es5/Validate/{isObject.js → isDictionaryObject.js} +6 -6
- package/module/es5/Validate/isEqual.d.ts +23 -0
- package/module/es5/Validate/isEqual.js +31 -0
- package/module/es5/Validate/object/core.js +2 -2
- package/module/es5/index.d.ts +1 -0
- package/module/es5/index.js +11 -0
- package/module/es5/tests/unit/Consts/clock.test.js +12 -12
- package/module/es5/tests/unit/Consts/httpClientErrorStatus.test.js +33 -0
- package/module/es5/tests/unit/Consts/httpInformationalStatus.test.d.ts +1 -0
- package/module/es5/tests/unit/Consts/httpInformationalStatus.test.js +13 -0
- package/module/es5/tests/unit/Consts/httpRedirectionStatus.test.d.ts +1 -0
- package/module/es5/tests/unit/Consts/httpRedirectionStatus.test.js +16 -0
- package/module/es5/tests/unit/Consts/httpServerErrorStatus.test.d.ts +1 -0
- package/module/es5/tests/unit/Consts/httpServerErrorStatus.test.js +15 -0
- package/module/es5/tests/unit/Consts/httpStatus.test.d.ts +1 -0
- package/module/es5/tests/unit/Consts/httpStatus.test.js +73 -0
- package/module/es5/tests/unit/Consts/httpSuccessStatus.test.d.ts +1 -0
- package/module/es5/tests/unit/Consts/httpSuccessStatus.test.js +16 -0
- package/module/es5/tests/unit/Time/convertTime.test.js +99 -1
- package/module/es5/tests/unit/Time/normalizeTimeUnit.test.d.ts +1 -0
- package/module/es5/tests/unit/Time/normalizeTimeUnit.test.js +29 -0
- package/module/es5/tests/unit/Unit/unitConverterInitialization.test.d.ts +1 -0
- package/module/es5/tests/unit/Unit/unitConverterInitialization.test.js +38 -0
- package/module/es5/tests/unit/Validate/isDictionaryObject.test.d.ts +1 -0
- package/module/es5/tests/unit/Validate/{isObject.test.js → isDictionaryObject.test.js} +11 -11
- package/module/es5/tests/unit/Validate/isEqual.test.d.ts +1 -0
- package/module/es5/tests/unit/Validate/isEqual.test.js +74 -0
- package/module/es5/tsconfig.tsbuildinfo +1 -1
- package/module/es5/types/enum/getEnumValues.d.ts +1 -0
- package/module/es5/types/enum/getEnumValues.js +5 -0
- package/module/es5/types/enum/index.d.ts +1 -0
- package/module/es5/types/enum/index.js +16 -0
- package/module/es5/types/index.d.ts +1 -0
- package/module/es5/types/index.js +11 -0
- package/module/es5/types/object/index.d.ts +1 -0
- package/module/es5/types/object/index.js +11 -0
- package/module/es5/types/time/index.d.ts +1 -0
- package/module/es5/types/time/index.js +11 -0
- package/module/es5/types/time/timeUnitShort.d.ts +4 -0
- package/module/es5/types/time/timeUnitShort.js +5 -0
- package/module/index.d.ts +1 -0
- package/module/index.js +1 -0
- package/module/index.js.map +1 -1
- package/module/types/enum/getEnumValues.d.ts +1 -0
- package/module/types/enum/getEnumValues.js +2 -0
- package/module/types/enum/getEnumValues.js.map +1 -0
- package/module/types/enum/index.d.ts +1 -0
- package/module/types/enum/index.js +2 -0
- package/module/types/enum/index.js.map +1 -0
- package/module/types/index.d.ts +1 -0
- package/module/types/index.js +1 -0
- package/module/types/index.js.map +1 -1
- package/module/types/object/index.d.ts +1 -0
- package/module/types/object/index.js +1 -0
- package/module/types/object/index.js.map +1 -1
- package/module/types/time/index.d.ts +1 -0
- package/module/types/time/index.js +1 -0
- package/module/types/time/index.js.map +1 -1
- package/module/types/time/timeUnitShort.d.ts +4 -0
- package/module/types/time/timeUnitShort.js +2 -0
- package/module/types/time/timeUnitShort.js.map +1 -0
- package/package.json +14 -14
- package/module/Validate/isObject.d.ts +0 -10
- package/module/Validate/isObject.js +0 -11
- package/module/Validate/isObject.js.map +0 -1
- package/module/es5/Validate/isObject.d.ts +0 -10
- /package/module/es5/tests/unit/{Validate/isObject.test.d.ts → Consts/httpClientErrorStatus.test.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type GetEnumValues<T> = T[keyof T];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./getEnumValues";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _getEnumValues = require("./getEnumValues");
|
|
7
|
+
Object.keys(_getEnumValues).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _getEnumValues[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function get() {
|
|
13
|
+
return _getEnumValues[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -36,6 +36,17 @@ Object.keys(_date).forEach(function (key) {
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
|
+
var _enum = require("./enum");
|
|
40
|
+
Object.keys(_enum).forEach(function (key) {
|
|
41
|
+
if (key === "default" || key === "__esModule") return;
|
|
42
|
+
if (key in exports && exports[key] === _enum[key]) return;
|
|
43
|
+
Object.defineProperty(exports, key, {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function get() {
|
|
46
|
+
return _enum[key];
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
});
|
|
39
50
|
var _int = require("./int");
|
|
40
51
|
Object.keys(_int).forEach(function (key) {
|
|
41
52
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _pickDeep = require("./pickDeep");
|
|
7
|
+
Object.keys(_pickDeep).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _pickDeep[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function get() {
|
|
13
|
+
return _pickDeep[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
6
17
|
var _pickDeepKey = require("./pickDeepKey");
|
|
7
18
|
Object.keys(_pickDeepKey).forEach(function (key) {
|
|
8
19
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -13,4 +13,15 @@ Object.keys(_timeUnit).forEach(function (key) {
|
|
|
13
13
|
return _timeUnit[key];
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
+
});
|
|
17
|
+
var _timeUnitShort = require("./timeUnitShort");
|
|
18
|
+
Object.keys(_timeUnitShort).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _timeUnitShort[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function get() {
|
|
24
|
+
return _timeUnitShort[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
16
27
|
});
|
package/module/index.d.ts
CHANGED
package/module/index.js
CHANGED
package/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;AACrB,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type GetEnumValues<T> = T[keyof T];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEnumValues.js","sourceRoot":"","sources":["../../../src/types/enum/getEnumValues.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./getEnumValues";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
package/module/types/index.d.ts
CHANGED
package/module/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/object/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/object/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/time/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/time/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeUnitShort.js","sourceRoot":"","sources":["../../../src/types/time/timeUnitShort.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -6,30 +6,30 @@
|
|
|
6
6
|
"description": "個人的に作った便利関数集 個人用途なので破壊的変更がある可能性があります。 Main Packageに依存関係はありません。 JavaScriptからの呼び出しに対応しています。",
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@babel/cli": "^7.26.4",
|
|
9
|
-
"@babel/core": "^7.26.
|
|
10
|
-
"@babel/preset-env": "^7.26.
|
|
9
|
+
"@babel/core": "^7.26.9",
|
|
10
|
+
"@babel/preset-env": "^7.26.9",
|
|
11
11
|
"@babel/preset-typescript": "^7.26.0",
|
|
12
12
|
"@biomejs/biome": "1.9.4",
|
|
13
|
-
"@swc/core": "^1.10.
|
|
13
|
+
"@swc/core": "^1.10.16",
|
|
14
14
|
"@swc/jest": "^0.2.37",
|
|
15
15
|
"@types/jest": "^29.5.14",
|
|
16
|
-
"@types/lodash": "^4.17.
|
|
17
|
-
"@types/node": "^22.
|
|
18
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
19
|
-
"@typescript-eslint/parser": "^8.
|
|
20
|
-
"bun-types": "^1.
|
|
21
|
-
"dependency-cruiser": "^16.
|
|
22
|
-
"eslint": "^9.
|
|
16
|
+
"@types/lodash": "^4.17.15",
|
|
17
|
+
"@types/node": "^22.13.4",
|
|
18
|
+
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
|
19
|
+
"@typescript-eslint/parser": "^8.24.0",
|
|
20
|
+
"bun-types": "^1.2.2",
|
|
21
|
+
"dependency-cruiser": "^16.9.0",
|
|
22
|
+
"eslint": "^9.20.1",
|
|
23
23
|
"eslint-plugin-import": "^2.31.0",
|
|
24
24
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
25
|
-
"gh-pages": "^6.
|
|
25
|
+
"gh-pages": "^6.3.0",
|
|
26
26
|
"jest": "^29.7.0",
|
|
27
27
|
"lodash": "^4.17.21",
|
|
28
28
|
"ts-jest": "^29.2.5",
|
|
29
29
|
"ts-node": "^10.9.2",
|
|
30
30
|
"tsc-alias": "^1.8.10",
|
|
31
|
-
"typedoc": "^0.27.
|
|
32
|
-
"typescript": "^5.7.
|
|
31
|
+
"typedoc": "^0.27.7",
|
|
32
|
+
"typescript": "^5.7.3"
|
|
33
33
|
},
|
|
34
34
|
"directories": {
|
|
35
35
|
"doc": "doc",
|
|
@@ -70,6 +70,6 @@
|
|
|
70
70
|
},
|
|
71
71
|
"type": "module",
|
|
72
72
|
"types": "module/index.d.js",
|
|
73
|
-
"version": "2.1.
|
|
73
|
+
"version": "2.1.2",
|
|
74
74
|
"packageManager": "yarn@1.22.22"
|
|
75
75
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* オブジェクトかどうかを判定する
|
|
3
|
-
* @param object
|
|
4
|
-
* @returns {boolean} true: オブジェクト, false: オブジェクトでない
|
|
5
|
-
* @example isObject({}); // true
|
|
6
|
-
* isObject([]); // false
|
|
7
|
-
*/
|
|
8
|
-
export declare const isObject: <T extends {
|
|
9
|
-
[key: string]: unknown;
|
|
10
|
-
}>(object: unknown) => object is T;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* オブジェクトかどうかを判定する
|
|
3
|
-
* @param object
|
|
4
|
-
* @returns {boolean} true: オブジェクト, false: オブジェクトでない
|
|
5
|
-
* @example isObject({}); // true
|
|
6
|
-
* isObject([]); // false
|
|
7
|
-
*/
|
|
8
|
-
export const isObject = (object) => {
|
|
9
|
-
return (typeof object === "object" && object !== null && !Array.isArray(object));
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=isObject.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isObject.js","sourceRoot":"","sources":["../../src/Validate/isObject.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CACtB,MAAe,EACF,EAAE;IACf,OAAO,CACL,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CACxE,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* オブジェクトかどうかを判定する
|
|
3
|
-
* @param object
|
|
4
|
-
* @returns {boolean} true: オブジェクト, false: オブジェクトでない
|
|
5
|
-
* @example isObject({}); // true
|
|
6
|
-
* isObject([]); // false
|
|
7
|
-
*/
|
|
8
|
-
export declare const isObject: <T extends {
|
|
9
|
-
[key: string]: unknown;
|
|
10
|
-
}>(object: unknown) => object is T;
|
|
File without changes
|