@rzl-zone/utils-js 3.0.2-beta.2 → 3.1.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 +56 -27
- package/dist/NumberRangeUnion-DC-C3_Kq.d.ts +23 -23
- package/dist/any-BmdI8UbK.d.ts +56 -56
- package/dist/arrays-normalize-recursive-CnjYJ9xg.d.ts +66 -66
- package/dist/assertions/index.cjs +1 -1
- package/dist/assertions/index.d.ts +398 -418
- package/dist/assertions/index.js +1 -1
- package/dist/chunk-26XIKDJI.cjs +1 -0
- package/dist/chunk-2NWHDDM5.js +1 -0
- package/dist/chunk-2UIRWYE3.js +1 -0
- package/dist/chunk-3KBHD3BS.cjs +1 -0
- package/dist/chunk-4HD2O5A4.js +1 -0
- package/dist/chunk-5C2SMIGX.cjs +1 -0
- package/dist/chunk-5I2B5DOG.js +1 -0
- package/dist/chunk-6HQDHIOD.js +1 -0
- package/dist/chunk-735HJXBT.cjs +1 -0
- package/dist/chunk-7BXIZM57.cjs +1 -0
- package/dist/chunk-7KJBDGEP.js +1 -0
- package/dist/chunk-7U44T63D.cjs +1 -0
- package/dist/chunk-AJ65QFV2.js +1 -0
- package/dist/chunk-APHDUCVQ.js +1 -0
- package/dist/chunk-BSVZRN7C.js +1 -0
- package/dist/chunk-C6JFHUR2.cjs +1 -0
- package/dist/chunk-CPLBRGST.js +1 -0
- package/dist/chunk-CTBRLEOG.js +1 -0
- package/dist/chunk-DUK2K4FB.js +1 -0
- package/dist/chunk-DVMHRLKP.cjs +1 -0
- package/dist/chunk-E63WVPZE.cjs +1 -0
- package/dist/chunk-EBMHQW7X.cjs +1 -0
- package/dist/chunk-EGNZCW4K.js +1 -0
- package/dist/chunk-FEKDB32T.js +1 -0
- package/dist/chunk-FIAAX3UE.js +1 -0
- package/dist/chunk-FUS3DVLB.cjs +1 -0
- package/dist/chunk-GGRMHIFJ.cjs +1 -0
- package/dist/chunk-HQ5GQTEE.js +1 -0
- package/dist/chunk-I5X5IN4H.js +1 -0
- package/dist/chunk-I7YGXQPI.cjs +1 -0
- package/dist/chunk-INUFZJLX.cjs +1 -0
- package/dist/chunk-IREHUBF7.js +1 -0
- package/dist/chunk-J2RGTPGK.cjs +1 -0
- package/dist/chunk-KHO2SBNA.cjs +1 -0
- package/dist/chunk-KXIXXSWX.cjs +1 -0
- package/dist/chunk-LBMEEJWA.js +1 -0
- package/dist/chunk-MC3LXMCQ.js +1 -0
- package/dist/chunk-MMSYCIJ2.cjs +1 -1
- package/dist/chunk-NU3N4WHD.cjs +1 -0
- package/dist/chunk-ODZQXH7E.cjs +1 -0
- package/dist/chunk-ONZFBJVW.js +1 -0
- package/dist/chunk-PXDRHFIE.js +1 -0
- package/dist/chunk-Q6NHYWVX.js +1 -0
- package/dist/chunk-QNKGP5DY.js +1 -0
- package/dist/chunk-S6Z6I2EG.cjs +1 -0
- package/dist/chunk-SMADKXZE.js +1 -0
- package/dist/chunk-TSLYDPBJ.js +1 -0
- package/dist/chunk-TVXADXCC.cjs +1 -0
- package/dist/chunk-UDA26MCU.cjs +1 -0
- package/dist/chunk-UET567YM.cjs +1 -0
- package/dist/chunk-VEYMQ3UA.js +1 -0
- package/dist/chunk-W2W3L2M5.js +1 -0
- package/dist/chunk-WBWTXKMC.cjs +1 -0
- package/dist/chunk-WVSPXFTY.js +1 -0
- package/dist/chunk-XC2PYCT4.cjs +1 -0
- package/dist/chunk-XIXA5KDF.cjs +1 -0
- package/dist/chunk-Y4O5KZF6.cjs +1 -0
- package/dist/chunk-YRM7IJLX.js +1 -0
- package/dist/chunk-YT3MSZKK.cjs +1 -0
- package/dist/chunk-YXHCULSO.cjs +1 -0
- package/dist/chunk-YZR5OGJA.cjs +1 -0
- package/dist/chunk-Z4DXK7A6.cjs +1 -0
- package/dist/chunk-ZXIWDFEQ.js +1 -0
- package/dist/conversions/index.cjs +1 -1
- package/dist/conversions/index.d.ts +1368 -1515
- package/dist/conversions/index.js +1 -1
- package/dist/env/index.cjs +1 -1
- package/dist/env/index.d.ts +14 -17
- package/dist/env/index.js +1 -1
- package/dist/events/index.cjs +1 -1
- package/dist/events/index.d.ts +111 -108
- package/dist/events/index.js +1 -1
- package/dist/extends-Bk_SBGdT.d.ts +367 -0
- package/dist/formatting/index.cjs +1 -1
- package/dist/formatting/index.d.ts +878 -840
- package/dist/formatting/index.js +1 -1
- package/dist/generator/index.cjs +1 -1
- package/dist/generator/index.d.ts +173 -150
- package/dist/generator/index.js +1 -1
- package/dist/if-CvT4R7Kh.d.ts +16 -16
- package/dist/is-array-Cymwrsmm.d.ts +1119 -0
- package/dist/isPlainObject-BVhBAPHX.d.ts +169 -0
- package/dist/never-BfayMBF9.d.ts +64 -64
- package/dist/next/index.cjs +1 -8
- package/dist/next/index.d.ts +196 -176
- package/dist/next/index.js +1 -8
- package/dist/next/server/index.cjs +1 -2
- package/dist/next/server/index.d.ts +26 -40
- package/dist/next/server/index.js +1 -2
- package/dist/nils-DMz3kU7M.d.ts +155 -155
- package/dist/omit-VvmIsZmX.d.ts +25 -25
- package/dist/operations/index.cjs +1 -1
- package/dist/operations/index.d.ts +121 -176
- package/dist/operations/index.js +1 -1
- package/dist/or-DyZCRvaU.d.ts +89 -0
- package/dist/parsers/index.cjs +1 -1
- package/dist/parsers/index.d.ts +35 -36
- package/dist/parsers/index.js +1 -1
- package/dist/predicates/index.cjs +1 -1
- package/dist/predicates/index.d.ts +1797 -1677
- package/dist/predicates/index.js +1 -1
- package/dist/prettify-C4xLcYOP.d.ts +328 -328
- package/dist/promise/index.cjs +1 -1
- package/dist/promise/index.d.ts +29 -38
- package/dist/promise/index.js +1 -1
- package/dist/rzl-utils.global.js +1 -4
- package/dist/string-XA-til3C.d.ts +351 -0
- package/dist/strings/index.cjs +1 -1
- package/dist/strings/index.d.ts +712 -787
- package/dist/strings/index.js +1 -1
- package/dist/tailwind/index.cjs +1 -0
- package/dist/tailwind/index.d.ts +565 -0
- package/dist/tailwind/index.js +1 -0
- package/dist/type-data-DDs-u2kq.d.ts +241 -241
- package/dist/types/index.d.ts +3266 -3266
- package/dist/urls/index.cjs +1 -1
- package/dist/urls/index.d.ts +384 -409
- package/dist/urls/index.js +1 -1
- package/package.json +61 -18
- package/dist/array-CIZRbqTF.d.ts +0 -223
- package/dist/chunk-2TRAPBZ7.cjs +0 -1
- package/dist/chunk-3D74QO5D.cjs +0 -1
- package/dist/chunk-4DK3RCC4.js +0 -2
- package/dist/chunk-4JOQ45HL.js +0 -1
- package/dist/chunk-55CZALRS.js +0 -1
- package/dist/chunk-56QBKKRE.js +0 -1
- package/dist/chunk-5JFV3GDE.cjs +0 -4
- package/dist/chunk-5SZUSNGZ.js +0 -1
- package/dist/chunk-62HX5Z45.cjs +0 -1
- package/dist/chunk-7NA6DUHR.cjs +0 -2
- package/dist/chunk-7YWAQOA4.cjs +0 -1
- package/dist/chunk-BVPMMWDL.cjs +0 -1
- package/dist/chunk-BYZAD3XN.cjs +0 -1
- package/dist/chunk-CEFYHEM4.cjs +0 -1
- package/dist/chunk-CN53M4QZ.cjs +0 -1
- package/dist/chunk-D47MHBSD.cjs +0 -1
- package/dist/chunk-DGH75GJD.js +0 -1
- package/dist/chunk-E5NUI7PN.js +0 -1
- package/dist/chunk-ELDDNERR.js +0 -1
- package/dist/chunk-EXZ47NOW.js +0 -1
- package/dist/chunk-FDITZ5C6.cjs +0 -1
- package/dist/chunk-FF76ISQ2.js +0 -1
- package/dist/chunk-FIEZKTAZ.cjs +0 -1
- package/dist/chunk-FSSV24W7.cjs +0 -1
- package/dist/chunk-GCGU2WB7.js +0 -1
- package/dist/chunk-GECI2YBP.js +0 -1
- package/dist/chunk-GQE4OVHC.cjs +0 -1
- package/dist/chunk-GRVZXQXL.cjs +0 -1
- package/dist/chunk-I4AVNHPA.cjs +0 -1
- package/dist/chunk-JFRL7NKU.js +0 -4
- package/dist/chunk-JWHM3WZQ.cjs +0 -1
- package/dist/chunk-KCQDDZJE.cjs +0 -1
- package/dist/chunk-L54ZPSYJ.js +0 -1
- package/dist/chunk-LVKAYEZ4.js +0 -1
- package/dist/chunk-MBDWTK54.cjs +0 -1
- package/dist/chunk-MNGGDB2G.js +0 -1
- package/dist/chunk-MY7BA4GI.cjs +0 -1
- package/dist/chunk-N2IJPIND.cjs +0 -1
- package/dist/chunk-NIMNTEGV.js +0 -1
- package/dist/chunk-NNM7QCNB.js +0 -1
- package/dist/chunk-PUQXRLZH.cjs +0 -1
- package/dist/chunk-PVJF2JHM.js +0 -1
- package/dist/chunk-QCFXEUKL.js +0 -1
- package/dist/chunk-QFCGBBSY.js +0 -1
- package/dist/chunk-QQYAUPSK.cjs +0 -1
- package/dist/chunk-RN3TP3S3.js +0 -1
- package/dist/chunk-RV2VULM7.cjs +0 -1
- package/dist/chunk-SW6HYEW7.cjs +0 -1
- package/dist/chunk-SYJC7UAW.js +0 -1
- package/dist/chunk-TC4VBE4Y.cjs +0 -1
- package/dist/chunk-TUXDINHF.cjs +0 -1
- package/dist/chunk-U5Y2FXMN.cjs +0 -1
- package/dist/chunk-UUPQI6ND.cjs +0 -1
- package/dist/chunk-VYCGZ2S6.js +0 -1
- package/dist/chunk-W5EDKJK3.js +0 -1
- package/dist/chunk-WHAVUFEU.js +0 -1
- package/dist/chunk-XCFIOTCV.js +0 -1
- package/dist/chunk-XE27XPJR.js +0 -1
- package/dist/chunk-XH6MCRLP.js +0 -1
- package/dist/chunk-XVB3ZZEB.js +0 -1
- package/dist/chunk-ZBSIGJFO.cjs +0 -1
- package/dist/chunk-ZYAML74V.js +0 -1
- package/dist/extends-Mp81Hq9-.d.ts +0 -145
- package/dist/index.cjs +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/is-array-Ckm_47hw.d.ts +0 -1557
- package/dist/isPlainObject-BKYaI6a8.d.ts +0 -182
- package/dist/stylings/index.cjs +0 -1
- package/dist/stylings/index.d.ts +0 -49
- package/dist/stylings/index.js +0 -1
|
@@ -1,182 +1,127 @@
|
|
|
1
1
|
import{N as NumberRangeUnion}from'../NumberRangeUnion-DC-C3_Kq.js';
|
|
2
2
|
/** ----------------------------------------------------------------------
|
|
3
|
-
* * ***
|
|
4
|
-
* ----------------------------------------------------------------------
|
|
5
|
-
*
|
|
6
|
-
* -
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* @
|
|
12
|
-
* @
|
|
13
|
-
* @
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @throws {TypeError} If the provided `values` argument is not an array.
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* findDuplicates(["apple", "banana", "apple", "orange"]);
|
|
21
|
-
*
|
|
22
|
-
* findDuplicates([
|
|
23
|
-
*
|
|
24
|
-
* findDuplicates([
|
|
25
|
-
|
|
3
|
+
* * ***Utility: `findDuplicates`.***
|
|
4
|
+
* ----------------------------------------------------------------------
|
|
5
|
+
* **Finds duplicate values in an array by deep equality comparison.**
|
|
6
|
+
* - **Behavior:**
|
|
7
|
+
* - Uses ***{@link isEqual | `isEqual`}*** to compare elements
|
|
8
|
+
* (handles objects, arrays, dates, NaN, etc.).
|
|
9
|
+
* - Returns a new array containing only the *first occurrences* of duplicated values.
|
|
10
|
+
* - Does **not mutate** the original array.
|
|
11
|
+
* - Throws ***{@link TypeError | `TypeError`}*** if input is not an array.
|
|
12
|
+
* @template T Type of elements in the input array.
|
|
13
|
+
* @param {T[]} values - The array to check for duplicates.
|
|
14
|
+
* @returns {T[]} An array of the duplicate values found in the input,
|
|
15
|
+
* preserving order of their first duplicate appearance.
|
|
16
|
+
* @throws {TypeError} If the provided `values` argument is not an array.
|
|
17
|
+
* @example
|
|
18
|
+
* findDuplicates([1, 2, 2, 3, 4, 4]);
|
|
19
|
+
* // ➔ [2, 4]
|
|
20
|
+
* findDuplicates(["apple", "banana", "apple", "orange"]);
|
|
21
|
+
* // ➔ ["apple"]
|
|
22
|
+
* findDuplicates([{ a: 1 }, { a: 1 }, { a: 2 }]);
|
|
23
|
+
* // ➔ [{ a: 1 }]
|
|
24
|
+
* findDuplicates([NaN, NaN, 1]);
|
|
25
|
+
* // ➔ [NaN]
|
|
26
|
+
* findDuplicates([true, false, true]);
|
|
27
|
+
* // ➔ [true]
|
|
28
|
+
* findDuplicates([1, 2, 3]);
|
|
29
|
+
* // ➔ []
|
|
30
|
+
*/
|
|
26
31
|
declare const findDuplicates:<T>(values:T[])=>T[];
|
|
27
32
|
/** --------------------------------
|
|
28
|
-
* * ***
|
|
29
|
-
* --------------------------------
|
|
30
|
-
* This function creates a shallow copy of the given object
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* It also validates that
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* @template I The type of the input object.
|
|
39
|
-
* @template K The keys to omit from the object.
|
|
40
|
-
* @param {I} object - The source object to omit keys from.
|
|
41
|
-
* @param {K[]} keysToOmit - An array of keys to exclude from the returned object.
|
|
42
|
-
* @returns {Omit<I, K>} A new object without the specified keys.
|
|
43
|
-
*
|
|
44
|
-
* @throws {
|
|
45
|
-
* @
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* omitKeys({
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
|
|
53
|
-
* // => { name: "John" }
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* omitKeys({ a: 1, b: 2 }, []);
|
|
57
|
-
* // => { a: 1, b: 2 } (no changes)
|
|
58
|
-
*/
|
|
33
|
+
* * ***Utility: `omitKeys`.***
|
|
34
|
+
* --------------------------------
|
|
35
|
+
* **This function creates a shallow copy of the given object omitting the
|
|
36
|
+
* specified keys.**
|
|
37
|
+
* - **Behavior:**
|
|
38
|
+
* - It will return a new object without mutating the original.
|
|
39
|
+
* - It also validates that ***`keysToOmit`*** does not contain duplicate keys.
|
|
40
|
+
* - **ℹ️ Internally:**
|
|
41
|
+
* - It uses ***{@link isEqual | `isEqual`}*** to check for duplicates in
|
|
42
|
+
* the ***`keysToOmit`*** array.
|
|
43
|
+
* @template I The type of the input object.
|
|
44
|
+
* @template K The keys to omit from the object.
|
|
45
|
+
* @param {I} object - The source object to omit keys from.
|
|
46
|
+
* @param {K[]} keysToOmit - An array of keys to exclude from the returned object.
|
|
47
|
+
* @returns {Omit<I, K>} A new object without the specified keys.
|
|
48
|
+
* @throws {TypeError} If `keysToOmit` is not an array.
|
|
49
|
+
* @throws {Error} If duplicate keys are found in `keysToOmit`.
|
|
50
|
+
* @example
|
|
51
|
+
* omitKeys({ a: 1, b: 2, c: 3 }, ["b", "c"]);
|
|
52
|
+
* //➔ { a: 1 }
|
|
53
|
+
* omitKeys({ name: "John", age: 30 }, ["age"]);
|
|
54
|
+
* //➔ { name: "John" }
|
|
55
|
+
* omitKeys({ a: 1, b: 2 }, []);
|
|
56
|
+
* //➔ { a: 1, b: 2 } (no changes)
|
|
57
|
+
*/
|
|
59
58
|
declare const omitKeys:<I extends Record<string,unknown>,K extends keyof I>(object:I,keysToOmit:K[])=>Omit<I,K>;type IndexArray=NumberRangeUnion<0,30>;type DotPath<T,Prev extends string="">=T extends Array<infer U>?DotPath<U,`${Prev}${Prev extends "" ? "" : "."}${IndexArray}`>:T extends object?{[K in keyof T & string]:`${Prev}${Prev extends "" ? "" : "."}${K}`|DotPath<T[K],`${Prev}${Prev extends "" ? "" : "."}${K}`>;}[keyof T & string]:never;
|
|
60
59
|
/** ------------------------------------------------------
|
|
61
|
-
* *
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* @
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* (
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
* // → { x: [{ y: [{ w: 2 }] }] }
|
|
130
|
-
*
|
|
131
|
-
* @example
|
|
132
|
-
* omitKeysDeep({ x: [{ y: [{ z: 1 }] }] }, ["x.0.y.0.z"]);
|
|
133
|
-
* // → {} (entire nested arrays removed)
|
|
134
|
-
*
|
|
135
|
-
* @example
|
|
136
|
-
* omitKeysDeep({ p: { q: { r: 5 } }, s: 6 }, ["p.q.r"]);
|
|
137
|
-
* // → { s: 6 } (`p` removed because it becomes empty)
|
|
138
|
-
*
|
|
139
|
-
* @example
|
|
140
|
-
* omitKeysDeep({ arr: [{ a: 1, b: 2 }, { c: 3 }] }, ["arr.0.a"]);
|
|
141
|
-
* // → { arr: [{ b: 2 }, { c: 3 }] }
|
|
142
|
-
*
|
|
143
|
-
* @example
|
|
144
|
-
* omitKeysDeep({ root: [{ sub: [{ leaf: 10 }] }] }, ["root.0.sub.0.leaf"]);
|
|
145
|
-
* // → {} (deep nested arrays emptied to root)
|
|
146
|
-
*
|
|
147
|
-
* @example
|
|
148
|
-
* omitKeysDeep({ meta: { tags: ["x", "y"], count: 2 } }, ["meta.count"]);
|
|
149
|
-
* // → { meta: { tags: ["x", "y"] } }
|
|
150
|
-
*
|
|
151
|
-
* @example
|
|
152
|
-
* omitKeysDeep({ arr: [[{ a: 1 }, { b: 2 }]] }, ["arr.0.0.a"]);
|
|
153
|
-
* // → { arr: [[{ b: 2 }]] }
|
|
154
|
-
*
|
|
155
|
-
* @example
|
|
156
|
-
* omitKeysDeep({ arr: [[{ a: 1 }]] }, ["arr.0.0.a"]);
|
|
157
|
-
* // → {} (double nested emptied)
|
|
158
|
-
*
|
|
159
|
-
* @example
|
|
160
|
-
* omitKeysDeep({ nested: [{ list: [{ id: 1, val: 2 }] }] }, ["nested.0.list.0.val"]);
|
|
161
|
-
* // → { nested: [{ list: [{ id: 1 }] }] }
|
|
162
|
-
*
|
|
163
|
-
* @example
|
|
164
|
-
* omitKeysDeep({ nested: [{ list: [{ id: 1 }] }] }, ["nested.0.list.0.id"]);
|
|
165
|
-
* // → {} (full collapse to empty)
|
|
166
|
-
*
|
|
167
|
-
* @example
|
|
168
|
-
* omitKeysDeep({ mixed: { a: [1, 2, 3], b: { c: 4 } } }, ["mixed.b.c"]);
|
|
169
|
-
* // → { mixed: { a: [1, 2, 3] } }
|
|
170
|
-
*/
|
|
171
|
-
declare const omitKeysDeep:<I extends Record<string,unknown>>(object:I,keysToOmit:DotPath<I>[])=>Partial<I>;
|
|
172
|
-
/** --------------------------------
|
|
173
|
-
* * Removes Property from PROPS Collection
|
|
174
|
-
* --------------------------------
|
|
175
|
-
* @description Becarefull put array in arrayException, If array is duplicated it will be throw an exception error
|
|
176
|
-
* @param object is Record as object (string,any)
|
|
177
|
-
* @param arrayExcept is Array exception []
|
|
178
|
-
* @returns
|
|
179
|
-
*
|
|
180
|
-
* @deprecated - Use `omitKeys` instead, this function will remove a next update.
|
|
181
|
-
*/
|
|
182
|
-
declare const omitProps:<I extends Record<string,unknown>,S extends(keyof I)[]>(object:I,arrayExcept:S)=>Omit<I,S[number]>|undefined;export{findDuplicates,omitKeys,omitKeysDeep,omitProps};
|
|
60
|
+
* * ***Utility: `omitKeysDeep`.***
|
|
61
|
+
* ------------------------------------------------------
|
|
62
|
+
* **Recursively omits properties from an object using dot notation paths.**
|
|
63
|
+
* - **Behavior:**
|
|
64
|
+
* - Also removes resulting empty objects (`{}`) and arrays (`[]`),
|
|
65
|
+
* - cascading upwards to remove empty parents until root if needed.
|
|
66
|
+
* - **⚠️ Be careful:**
|
|
67
|
+
* - If after omission an object or array becomes empty, it will be removed entirely
|
|
68
|
+
* including all the way up to the root if necessary, resulting in `{}`.
|
|
69
|
+
* - **ℹ️ Note:**
|
|
70
|
+
* - For array indices, TypeScript autocomplete only suggests `0`–`30`
|
|
71
|
+
* (to prevent editor lag on large unions).
|
|
72
|
+
* However, higher indices are still fully supported at runtime — you can
|
|
73
|
+
* manually type `"arr.99.key"` and it will work the same.
|
|
74
|
+
* @template I - Type of the input object
|
|
75
|
+
* @param {I} object
|
|
76
|
+
* The object to process. Should be a plain nested object or array structure.
|
|
77
|
+
* @param {DotPath<I>[]} keysToOmit
|
|
78
|
+
* An array of string paths in dot notation indicating the properties to remove, paths
|
|
79
|
+
* can include numeric indices to target array elements, e.g. `"arr.0.x"` to
|
|
80
|
+
* remove `x` from the first object inside the `arr` array.
|
|
81
|
+
* @returns {Partial<I>}
|
|
82
|
+
* A new deeply cloned object with the specified keys omitted, with resulting
|
|
83
|
+
* empty objects or arrays fully removed (even if it collapses to `{}`).
|
|
84
|
+
* @throws {TypeError}
|
|
85
|
+
* If `keysToOmit` is not an array will throw TypeError.
|
|
86
|
+
* @throws {Error} If `keysToOmit` contains duplicate paths will throw Error.
|
|
87
|
+
* @example
|
|
88
|
+
* omitKeysDeep({ arr: [{ a: 1 }] }, ["arr.0.a"]);
|
|
89
|
+
* // ➔ {} (array becomes empty and removed)
|
|
90
|
+
* omitKeysDeep({ a: { b: { c: 1 }, d: 2 }, e: 3 }, ["a.b.c"]);
|
|
91
|
+
* // ➔ { a: { d: 2 }, e: 3 }
|
|
92
|
+
* omitKeysDeep({ a: [{ b: 1 }, { c: 2 }] }, ["a.0.b"]);
|
|
93
|
+
* // ➔ { a: [{ c: 2 }] }
|
|
94
|
+
* omitKeysDeep({ a: [{ b: 1 }] }, ["a.0.b"]);
|
|
95
|
+
* // ➔ {} (array becomes empty and removed)
|
|
96
|
+
* omitKeysDeep({ complex: [{ deep: [{ x: 1, y: 2 }] }] }, ["complex.0.deep.0.x"]);
|
|
97
|
+
* // ➔ { complex: [{ deep: [{ y: 2 }] }] }
|
|
98
|
+
* omitKeysDeep({ complex: [{ deep: [{ x: 1 }] }] }, ["complex.0.deep.0.x"]);
|
|
99
|
+
* // ➔ {} (deep chain emptied and collapsed)
|
|
100
|
+
* omitKeysDeep({ data: [[{ foo: 1, bar: 2 }]] }, ["data.0.0.foo"]);
|
|
101
|
+
* // ➔ { data: [[{ bar: 2 }]] }
|
|
102
|
+
* omitKeysDeep({ data: [[{ foo: 1 }]] }, ["data.0.0.foo"]);
|
|
103
|
+
* // ➔ {} (nested arrays emptied completely)
|
|
104
|
+
* omitKeysDeep({ x: [{ y: [{ z: 1 }, { w: 2 }] }] }, ["x.0.y.0.z"]);
|
|
105
|
+
* // ➔ { x: [{ y: [{ w: 2 }] }] }
|
|
106
|
+
* omitKeysDeep({ x: [{ y: [{ z: 1 }] }] }, ["x.0.y.0.z"]);
|
|
107
|
+
* // ➔ {} (entire nested arrays removed)
|
|
108
|
+
* omitKeysDeep({ p: { q: { r: 5 } }, s: 6 }, ["p.q.r"]);
|
|
109
|
+
* // ➔ { s: 6 } (`p` removed because it becomes empty)
|
|
110
|
+
* omitKeysDeep({ arr: [{ a: 1, b: 2 }, { c: 3 }] }, ["arr.0.a"]);
|
|
111
|
+
* // ➔ { arr: [{ b: 2 }, { c: 3 }] }
|
|
112
|
+
* omitKeysDeep({ root: [{ sub: [{ leaf: 10 }] }] }, ["root.0.sub.0.leaf"]);
|
|
113
|
+
* // ➔ {} (deep nested arrays emptied to root)
|
|
114
|
+
* omitKeysDeep({ meta: { tags: ["x", "y"], count: 2 } }, ["meta.count"]);
|
|
115
|
+
* // ➔ { meta: { tags: ["x", "y"] } }
|
|
116
|
+
* omitKeysDeep({ arr: [[{ a: 1 }, { b: 2 }]] }, ["arr.0.0.a"]);
|
|
117
|
+
* // ➔ { arr: [[{ b: 2 }]] }
|
|
118
|
+
* omitKeysDeep({ arr: [[{ a: 1 }]] }, ["arr.0.0.a"]);
|
|
119
|
+
* // ➔ {} (double nested emptied)
|
|
120
|
+
* omitKeysDeep({ nested: [{ list: [{ id: 1, val: 2 }] }] }, ["nested.0.list.0.val"]);
|
|
121
|
+
* // ➔ { nested: [{ list: [{ id: 1 }] }] }
|
|
122
|
+
* omitKeysDeep({ nested: [{ list: [{ id: 1 }] }] }, ["nested.0.list.0.id"]);
|
|
123
|
+
* // ➔ {} (full collapse to empty)
|
|
124
|
+
* omitKeysDeep({ mixed: { a: [1, 2, 3], b: { c: 4 } } }, ["mixed.b.c"]);
|
|
125
|
+
* // ➔ { mixed: { a: [1, 2, 3] } }
|
|
126
|
+
*/
|
|
127
|
+
declare const omitKeysDeep:<I extends Record<string,unknown>>(object:I,keysToOmit:DotPath<I>[])=>Partial<I>;export{findDuplicates,omitKeys,omitKeysDeep};
|
package/dist/operations/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{findDuplicates,omitKeys,omitKeysDeep}from"../chunk-SMADKXZE.js";import"../chunk-LBMEEJWA.js";import"../chunk-BSVZRN7C.js";import"../chunk-ZXIWDFEQ.js";import"../chunk-FIAAX3UE.js";import"../chunk-AJ65QFV2.js";import"../chunk-QNKGP5DY.js";import"../chunk-2UIRWYE3.js";
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import{E as Extends,I as IfExtends}from'./extends-Bk_SBGdT.js';
|
|
2
|
+
/** -------------------------------------------------------
|
|
3
|
+
* * ***And.***
|
|
4
|
+
* -------------------------------------------------------
|
|
5
|
+
* Performs a **logical AND** operation between two boolean types.
|
|
6
|
+
* - Returns `true` if **both** conditions extend `true`.
|
|
7
|
+
* - Returns `false` otherwise.
|
|
8
|
+
*
|
|
9
|
+
* @template Condition1 - The first condition.
|
|
10
|
+
* @template Condition2 - The second condition.
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* type Case1 = And<true, true>;
|
|
14
|
+
* // ➔ true
|
|
15
|
+
* type Case2 = And<false, true>;
|
|
16
|
+
* // ➔ false
|
|
17
|
+
* type Case3 = And<true, false>;
|
|
18
|
+
* // ➔ false
|
|
19
|
+
* type Case4 = And<false, false>;
|
|
20
|
+
* // ➔ false
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
type And<Condition1,Condition2>=IfExtends<Condition1,true,Extends<Condition2,true>>;
|
|
24
|
+
/** -------------------------------------------------------
|
|
25
|
+
* * ***AndArr.***
|
|
26
|
+
* -------------------------------------------------------
|
|
27
|
+
* Performs a **logical AND** operation across all elements in an array of boolean types.
|
|
28
|
+
* - Returns `true` if **all elements** extend `true`.
|
|
29
|
+
* - Returns `false` if **any element** is not `true`.
|
|
30
|
+
*
|
|
31
|
+
* @template Conditions - A readonly array of boolean conditions.
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* type Case1 = AndArr<[true, true, true]>;
|
|
35
|
+
* // ➔ true
|
|
36
|
+
* type Case2 = AndArr<[true, true, false]>;
|
|
37
|
+
* // ➔ false
|
|
38
|
+
* type Case3 = AndArr<[false, false, false]>;
|
|
39
|
+
* // ➔ false
|
|
40
|
+
* type Case4 = AndArr<[]>;
|
|
41
|
+
* // ➔ true (vacuous truth)
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
type AndArr<Conditions extends readonly unknown[]>=Extends<Conditions[number],true>;
|
|
45
|
+
/** -------------------------------------------------------
|
|
46
|
+
* * ***Or.***
|
|
47
|
+
* -------------------------------------------------------
|
|
48
|
+
*
|
|
49
|
+
* Computes the logical OR of two type-level boolean conditions.
|
|
50
|
+
*
|
|
51
|
+
* @template Condition1 - First boolean condition.
|
|
52
|
+
* @template Condition2 - Second boolean condition.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* type Case1 = Or<true, true>; // true
|
|
57
|
+
* type Case2 = Or<false, true>; // true
|
|
58
|
+
* type Case3 = Or<false, false>; // false
|
|
59
|
+
* type Case4 = Or<true, false>; // true
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @remarks
|
|
63
|
+
* - Uses {@link IfExtends} to determine if either condition is `true`.
|
|
64
|
+
* - Returns `true` if at least one of the two conditions is `true`.
|
|
65
|
+
* - Returns `false` only if both are `false`.
|
|
66
|
+
*/
|
|
67
|
+
type Or<Condition1,Condition2>=IfExtends<Condition1,true,true,IfExtends<Condition2,true>>;
|
|
68
|
+
/** -------------------------------------------------------
|
|
69
|
+
* * ***OrArr.***
|
|
70
|
+
* -------------------------------------------------------
|
|
71
|
+
*
|
|
72
|
+
* Computes the logical OR of all elements inside a tuple or array of boolean types.
|
|
73
|
+
*
|
|
74
|
+
* @template Conditions - An array of boolean type elements.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```ts
|
|
78
|
+
* type Case1 = OrArr<[true, true, true]>; // true
|
|
79
|
+
* type Case2 = OrArr<[true, true, false]>; // true
|
|
80
|
+
* type Case3 = OrArr<[false, false, false]>; // false
|
|
81
|
+
* type Case4 = OrArr<[]>; // false
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @remarks
|
|
85
|
+
* - Uses TypeScript's indexed access types and conditional type inference.
|
|
86
|
+
* - Returns `true` if at least one element in the array is `true`.
|
|
87
|
+
* - Returns `false` if all elements are `false` or array is empty.
|
|
88
|
+
*/
|
|
89
|
+
type OrArr<Conditions extends readonly unknown[]>=true extends Conditions[number]?true:false;export type{And as A,OrArr as O,AndArr as a,Or as b};
|
package/dist/parsers/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";var e=require("../chunk-26XIKDJI.cjs");require("../chunk-INUFZJLX.cjs"),Object.defineProperty(exports,"extractFileName",{enumerable:!0,get:function(){return e.extractFileName}});
|
package/dist/parsers/index.d.ts
CHANGED
|
@@ -1,37 +1,36 @@
|
|
|
1
1
|
/** ----------------------------------------------------------
|
|
2
|
-
* * ***
|
|
3
|
-
* ----------------------------------------------------------
|
|
4
|
-
*
|
|
5
|
-
* -
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @param {string} url - The URL, file system path, or plain file name to process.
|
|
24
|
-
* @returns {string | undefined} The file name without its extension(s),
|
|
25
|
-
* or `undefined` if input is invalid,
|
|
26
|
-
* or an empty string `""` if the path ends with `/`.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* extractFileName("
|
|
30
|
-
* extractFileName("/
|
|
31
|
-
* extractFileName("
|
|
32
|
-
* extractFileName("
|
|
33
|
-
* extractFileName("
|
|
34
|
-
* extractFileName(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
declare const extractFileName:(url?:string|null)=>string|undefined;export{extractFileName};
|
|
2
|
+
* * ***Utility: `extractFileName`.***
|
|
3
|
+
* ----------------------------------------------------------
|
|
4
|
+
* **Extracts the base file name (without extension) from a given URL, file path, or file name.**
|
|
5
|
+
* - **Behavior:**
|
|
6
|
+
* - Strips known extensions (including multi-part extensions such as `.tar.gz`, `.tar.bz2`, etc.).
|
|
7
|
+
* - Handles plain file names, local file paths, and full URLs seamlessly.
|
|
8
|
+
* - If the path ends with a `/`, returns an empty string `""` (represents a directory or empty segment).
|
|
9
|
+
* - If the input is empty, whitespace, or not a string, returns `undefined`.
|
|
10
|
+
* - Leaves unknown or unrecognized extensions intact (does not attempt to strip unknown file extensions).
|
|
11
|
+
* - **Summary:**
|
|
12
|
+
* - `extractFileName("https://example.com/file.txt")` ➔ `"file"`.
|
|
13
|
+
* - `extractFileName("/local/path/image.jpeg")` ➔ `"image"`.
|
|
14
|
+
* - `extractFileName("backup.archive.tar.gz")` ➔ `"backup.archive"`.
|
|
15
|
+
* - `extractFileName("folder/")` ➔ `""`.
|
|
16
|
+
* - `extractFileName("")` ➔ `undefined`.
|
|
17
|
+
* - `extractFileName("unknownfile.weirdext")` ➔ `"unknownfile.weirdext"`
|
|
18
|
+
* ***(keeps unknown extension)***.
|
|
19
|
+
* @description
|
|
20
|
+
* This is particularly useful for displaying or logging file names
|
|
21
|
+
* without cluttering them with redundant extensions, while being careful
|
|
22
|
+
* not to accidentally truncate unfamiliar formats.
|
|
23
|
+
* @param {string | null | undefined} url - The URL, file system path, or plain file name to process.
|
|
24
|
+
* @returns {string | undefined} The file name without its extension(s),
|
|
25
|
+
* or `undefined` if input is invalid,
|
|
26
|
+
* or an empty string `""` if the path ends with `/`.
|
|
27
|
+
* @example
|
|
28
|
+
* extractFileName("document.pdf"); // ➔ "document"
|
|
29
|
+
* extractFileName("/files/archive.tar.gz"); // ➔ "archive"
|
|
30
|
+
* extractFileName("https://cdn.site.com/video.mp4"); // ➔ "video"
|
|
31
|
+
* extractFileName("folder/"); // ➔ ""
|
|
32
|
+
* extractFileName("strangefile.unknownext"); // ➔ "strangefile.unknownext"
|
|
33
|
+
* extractFileName(""); // ➔ undefined
|
|
34
|
+
* extractFileName(123); // ➔ undefined
|
|
35
|
+
*/
|
|
36
|
+
declare const extractFileName:(url:string|null|undefined)=>string|undefined;export{extractFileName};
|
package/dist/parsers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{extractFileName}from"../chunk-7KJBDGEP.js";import"../chunk-2UIRWYE3.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";var e=require("../chunk-735HJXBT.cjs"),r=require("../chunk-KHO2SBNA.cjs"),t=require("../chunk-WBWTXKMC.cjs"),n=require("../chunk-GGRMHIFJ.cjs"),i=require("../chunk-Z4DXK7A6.cjs");require("../chunk-7BXIZM57.cjs");var u=require("../chunk-YZR5OGJA.cjs"),o=require("../chunk-EBMHQW7X.cjs");require("../chunk-Y4O5KZF6.cjs");var s=require("../chunk-DVMHRLKP.cjs"),c=require("../chunk-E63WVPZE.cjs"),p=require("../chunk-UDA26MCU.cjs"),b=require("../chunk-INUFZJLX.cjs");Object.defineProperty(exports,"areArraysEqual",{enumerable:!0,get:function(){return e.areArraysEqual}}),Object.defineProperty(exports,"areObjectsEqual",{enumerable:!0,get:function(){return e.areObjectsEqual}}),Object.defineProperty(exports,"areURLsEqualPath",{enumerable:!0,get:function(){return e.areURLsEqualPath}}),Object.defineProperty(exports,"areURLsIdentical",{enumerable:!0,get:function(){return e.areURLsIdentical}}),Object.defineProperty(exports,"arrayHasAnyMatch",{enumerable:!0,get:function(){return e.arrayHasAnyMatch}}),Object.defineProperty(exports,"doesKeyExist",{enumerable:!0,get:function(){return e.doesKeyExist}}),Object.defineProperty(exports,"isArguments",{enumerable:!0,get:function(){return e.isArguments}}),Object.defineProperty(exports,"isArrayLike",{enumerable:!0,get:function(){return e.isArrayLike}}),Object.defineProperty(exports,"isArrayLikeObject",{enumerable:!0,get:function(){return e.isArrayLikeObject}}),Object.defineProperty(exports,"isCurrencyLike",{enumerable:!0,get:function(){return e.isCurrencyLike}}),Object.defineProperty(exports,"isDeepEqual",{enumerable:!0,get:function(){return e.isDeepEqual}}),Object.defineProperty(exports,"isElement",{enumerable:!0,get:function(){return e.isElement}}),Object.defineProperty(exports,"isEmpty",{enumerable:!0,get:function(){return e.isEmpty}}),Object.defineProperty(exports,"isEmptyDeep",{enumerable:!0,get:function(){return e.isEmptyDeep}}),Object.defineProperty(exports,"isEqualWith",{enumerable:!0,get:function(){return e.isEqualWith}}),Object.defineProperty(exports,"isLength",{enumerable:!0,get:function(){return e.isLength}}),Object.defineProperty(exports,"isMatch",{enumerable:!0,get:function(){return e.isMatch}}),Object.defineProperty(exports,"isMatchWith",{enumerable:!0,get:function(){return e.isMatchWith}}),Object.defineProperty(exports,"isNative",{enumerable:!0,get:function(){return e.isNative}}),Object.defineProperty(exports,"isObjectLoose",{enumerable:!0,get:function(){return e.isObjectLoose}}),Object.defineProperty(exports,"isPropertyKey",{enumerable:!0,get:function(){return e.isPropertyKey}}),Object.defineProperty(exports,"isSafeInteger",{enumerable:!0,get:function(){return e.isSafeInteger}}),Object.defineProperty(exports,"isValidURL",{enumerable:!0,get:function(){return e.isValidURL}}),Object.defineProperty(exports,"isWeakMap",{enumerable:!0,get:function(){return e.isWeakMap}}),Object.defineProperty(exports,"textContainsAll",{enumerable:!0,get:function(){return e.textContainsAll}}),Object.defineProperty(exports,"textContainsAny",{enumerable:!0,get:function(){return e.textContainsAny}}),Object.defineProperty(exports,"isURL",{enumerable:!0,get:function(){return r.isURL}}),Object.defineProperty(exports,"isNonEmptyValue",{enumerable:!0,get:function(){return t.isNonEmptyValue}}),Object.defineProperty(exports,"isTypedArray",{enumerable:!0,get:function(){return t.isTypedArray}}),Object.defineProperty(exports,"isEmptyValue",{enumerable:!0,get:function(){return n.isEmptyValue}}),Object.defineProperty(exports,"isArrayBuffer",{enumerable:!0,get:function(){return i.isArrayBuffer}}),Object.defineProperty(exports,"isEmptyArray",{enumerable:!0,get:function(){return i.isEmptyArray}}),Object.defineProperty(exports,"isEmptyObject",{enumerable:!0,get:function(){return i.isEmptyObject}}),Object.defineProperty(exports,"isEqual",{enumerable:!0,get:function(){return i.isEqual}}),Object.defineProperty(exports,"isRegExp",{enumerable:!0,get:function(){return i.isRegExp}}),Object.defineProperty(exports,"isFinite",{enumerable:!0,get:function(){return u.isFinite}}),Object.defineProperty(exports,"isEmptyString",{enumerable:!0,get:function(){return o.isEmptyString}}),Object.defineProperty(exports,"isInteger",{enumerable:!0,get:function(){return s.isInteger}}),Object.defineProperty(exports,"isDate",{enumerable:!0,get:function(){return c.isDate}}),Object.defineProperty(exports,"isMap",{enumerable:!0,get:function(){return c.isMap}}),Object.defineProperty(exports,"isBigInt",{enumerable:!0,get:function(){return p.isBigInt}}),Object.defineProperty(exports,"getPreciseType",{enumerable:!0,get:function(){return b.getPreciseType}}),Object.defineProperty(exports,"hasOwnProp",{enumerable:!0,get:function(){return b.hasOwnProp}}),Object.defineProperty(exports,"isArray",{enumerable:!0,get:function(){return b.isArray}}),Object.defineProperty(exports,"isBoolean",{enumerable:!0,get:function(){return b.isBoolean}}),Object.defineProperty(exports,"isBooleanObject",{enumerable:!0,get:function(){return b.isBooleanObject}}),Object.defineProperty(exports,"isBuffer",{enumerable:!0,get:function(){return b.isBuffer}}),Object.defineProperty(exports,"isError",{enumerable:!0,get:function(){return b.isError}}),Object.defineProperty(exports,"isFunction",{enumerable:!0,get:function(){return b.isFunction}}),Object.defineProperty(exports,"isInfinityNumber",{enumerable:!0,get:function(){return b.isInfinityNumber}}),Object.defineProperty(exports,"isNaN",{enumerable:!0,get:function(){return b.isNaN}}),Object.defineProperty(exports,"isNil",{enumerable:!0,get:function(){return b.isNil}}),Object.defineProperty(exports,"isNonEmptyArray",{enumerable:!0,get:function(){return b.isNonEmptyArray}}),Object.defineProperty(exports,"isNonEmptyString",{enumerable:!0,get:function(){return b.isNonEmptyString}}),Object.defineProperty(exports,"isNull",{enumerable:!0,get:function(){return b.isNull}}),Object.defineProperty(exports,"isNumber",{enumerable:!0,get:function(){return b.isNumber}}),Object.defineProperty(exports,"isNumberObject",{enumerable:!0,get:function(){return b.isNumberObject}}),Object.defineProperty(exports,"isObject",{enumerable:!0,get:function(){return b.isObject}}),Object.defineProperty(exports,"isObjectOrArray",{enumerable:!0,get:function(){return b.isObjectOrArray}}),Object.defineProperty(exports,"isPlainObject",{enumerable:!0,get:function(){return b.isPlainObject}}),Object.defineProperty(exports,"isSet",{enumerable:!0,get:function(){return b.isSet}}),Object.defineProperty(exports,"isString",{enumerable:!0,get:function(){return b.isString}}),Object.defineProperty(exports,"isStringObject",{enumerable:!0,get:function(){return b.isStringObject}}),Object.defineProperty(exports,"isSymbol",{enumerable:!0,get:function(){return b.isSymbol}}),Object.defineProperty(exports,"isUndefined",{enumerable:!0,get:function(){return b.isUndefined}});
|