@ls-stack/utils 3.39.0 → 3.41.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.
Files changed (162) hide show
  1. package/dist/arrayUtils.d.cts +70 -57
  2. package/dist/arrayUtils.d.ts +70 -57
  3. package/dist/assertions.d.cts +128 -117
  4. package/dist/assertions.d.ts +128 -117
  5. package/dist/asyncQueue.cjs +117 -112
  6. package/dist/asyncQueue.d.cts +217 -215
  7. package/dist/asyncQueue.d.ts +217 -215
  8. package/dist/asyncQueue.js +117 -112
  9. package/dist/awaitDebounce.d.cts +26 -23
  10. package/dist/awaitDebounce.d.ts +26 -23
  11. package/dist/cache.cjs +2 -1
  12. package/dist/cache.d.cts +15 -9
  13. package/dist/cache.d.ts +15 -9
  14. package/dist/cache.js +2 -1
  15. package/dist/{chunk-GHAQOUA6.js → chunk-23KPGKDT.js} +22 -1
  16. package/dist/{chunk-ADM37GSC.js → chunk-7L4KCZJJ.js} +12 -10
  17. package/dist/{chunk-KW55OTUG.js → chunk-B3KFV2MH.js} +2 -2
  18. package/dist/chunk-DTE2QMWE.js +48 -0
  19. package/dist/concurrentCalls.d.cts +8 -4
  20. package/dist/concurrentCalls.d.ts +8 -4
  21. package/dist/concurrentCalls.js +1 -1
  22. package/dist/consoleFmt.cjs +1 -0
  23. package/dist/consoleFmt.d.cts +6 -0
  24. package/dist/consoleFmt.d.ts +6 -0
  25. package/dist/consoleFmt.js +1 -0
  26. package/dist/debounce.d.cts +12 -20
  27. package/dist/debounce.d.ts +12 -20
  28. package/dist/dedent.d.cts +31 -31
  29. package/dist/dedent.d.ts +31 -31
  30. package/dist/deepEqual.d.cts +10 -9
  31. package/dist/deepEqual.d.ts +10 -9
  32. package/dist/filterObjectOrArrayKeys.d.cts +44 -19
  33. package/dist/filterObjectOrArrayKeys.d.ts +44 -19
  34. package/dist/getAutoIncrementId.d.cts +25 -23
  35. package/dist/getAutoIncrementId.d.ts +25 -23
  36. package/dist/getCompositeKey.d.cts +2 -1
  37. package/dist/getCompositeKey.d.ts +2 -1
  38. package/dist/getValueStableKey.d.cts +4 -3
  39. package/dist/getValueStableKey.d.ts +4 -3
  40. package/dist/mutationUtils.d.cts +2 -2
  41. package/dist/mutationUtils.d.ts +2 -2
  42. package/dist/objUtils.cjs +51 -2
  43. package/dist/objUtils.d.cts +8 -3
  44. package/dist/objUtils.d.ts +8 -3
  45. package/dist/objUtils.js +11 -3
  46. package/dist/parallelAsyncCalls.cjs +2 -1
  47. package/dist/parallelAsyncCalls.d.cts +5 -4
  48. package/dist/parallelAsyncCalls.d.ts +5 -4
  49. package/dist/parallelAsyncCalls.js +2 -1
  50. package/dist/retryOnError.d.cts +23 -20
  51. package/dist/retryOnError.d.ts +23 -20
  52. package/dist/runShellCmd.d.cts +40 -40
  53. package/dist/runShellCmd.d.ts +40 -40
  54. package/dist/safeJson.d.cts +6 -2
  55. package/dist/safeJson.d.ts +6 -2
  56. package/dist/saferTyping.d.cts +21 -14
  57. package/dist/saferTyping.d.ts +21 -14
  58. package/dist/shallowEqual.d.cts +1 -1
  59. package/dist/shallowEqual.d.ts +1 -1
  60. package/dist/stringUtils.cjs +2 -2
  61. package/dist/stringUtils.d.cts +6 -7
  62. package/dist/stringUtils.d.ts +6 -7
  63. package/dist/stringUtils.js +1 -1
  64. package/dist/testUtils.cjs +11 -9
  65. package/dist/testUtils.d.cts +32 -14
  66. package/dist/testUtils.d.ts +32 -14
  67. package/dist/testUtils.js +4 -3
  68. package/dist/throttle.d.cts +57 -48
  69. package/dist/throttle.d.ts +57 -48
  70. package/dist/timers.d.cts +68 -63
  71. package/dist/timers.d.ts +68 -63
  72. package/dist/tsResult.d.cts +7 -6
  73. package/dist/tsResult.d.ts +7 -6
  74. package/dist/typeGuards.d.cts +65 -64
  75. package/dist/typeGuards.d.ts +65 -64
  76. package/dist/typeUtils.d.cts +18 -4
  77. package/dist/typeUtils.d.ts +18 -4
  78. package/dist/typedStrings.d.cts +68 -57
  79. package/dist/typedStrings.d.ts +68 -57
  80. package/dist/typingFnUtils.d.cts +12 -6
  81. package/dist/typingFnUtils.d.ts +12 -6
  82. package/dist/typingFnUtils.js +12 -35
  83. package/dist/typingTestUtils.cjs +7 -1
  84. package/dist/typingTestUtils.d.cts +52 -11
  85. package/dist/typingTestUtils.d.ts +52 -11
  86. package/dist/typingTestUtils.js +7 -1
  87. package/dist/typingUtils.d.cts +4 -1
  88. package/dist/typingUtils.d.ts +4 -1
  89. package/dist/yamlStringify.cjs +11 -9
  90. package/dist/yamlStringify.js +2 -2
  91. package/package.json +6 -2
  92. package/docs/README.md +0 -72
  93. package/docs/_media/modules.md +0 -58
  94. package/docs/arrayUtils/-internal-.md +0 -179
  95. package/docs/arrayUtils/README.md +0 -550
  96. package/docs/assertions/-internal-.md +0 -63
  97. package/docs/assertions/README.md +0 -565
  98. package/docs/asyncQueue/-internal-.md +0 -297
  99. package/docs/asyncQueue/README.md +0 -1485
  100. package/docs/awaitDebounce.md +0 -66
  101. package/docs/cache/-internal-.md +0 -168
  102. package/docs/cache/README.md +0 -360
  103. package/docs/castValues.md +0 -47
  104. package/docs/concurrentCalls/-internal-.md +0 -490
  105. package/docs/concurrentCalls/README.md +0 -299
  106. package/docs/consoleFmt.md +0 -91
  107. package/docs/conversions.md +0 -27
  108. package/docs/createThrottleController/-internal-.md +0 -73
  109. package/docs/createThrottleController/README.md +0 -31
  110. package/docs/debounce.md +0 -188
  111. package/docs/dedent/-internal-.md +0 -17
  112. package/docs/dedent/README.md +0 -204
  113. package/docs/deepEqual.md +0 -94
  114. package/docs/enhancedMap.md +0 -358
  115. package/docs/exhaustiveMatch/-internal-.md +0 -39
  116. package/docs/exhaustiveMatch/README.md +0 -146
  117. package/docs/filterObjectOrArrayKeys.md +0 -109
  118. package/docs/getAutoIncrementId.md +0 -93
  119. package/docs/getCompositeKey.md +0 -39
  120. package/docs/getValueStableKey.md +0 -57
  121. package/docs/hash.md +0 -31
  122. package/docs/interpolate/-internal-.md +0 -61
  123. package/docs/interpolate/README.md +0 -62
  124. package/docs/keepPrevIfUnchanged.md +0 -43
  125. package/docs/levenshtein.md +0 -93
  126. package/docs/main.md +0 -21
  127. package/docs/mathUtils.md +0 -137
  128. package/docs/modules.md +0 -58
  129. package/docs/mutationUtils.md +0 -44
  130. package/docs/objUtils.md +0 -237
  131. package/docs/parallelAsyncCalls/-internal-.md +0 -347
  132. package/docs/parallelAsyncCalls/README.md +0 -45
  133. package/docs/promiseUtils/-internal-.md +0 -69
  134. package/docs/promiseUtils/README.md +0 -31
  135. package/docs/retryOnError/-internal-.md +0 -111
  136. package/docs/retryOnError/README.md +0 -168
  137. package/docs/runShellCmd/-internal-.md +0 -111
  138. package/docs/runShellCmd/README.md +0 -201
  139. package/docs/safeJson.md +0 -51
  140. package/docs/saferTyping.md +0 -228
  141. package/docs/serializeXML.md +0 -100
  142. package/docs/shallowEqual.md +0 -33
  143. package/docs/sleep.md +0 -27
  144. package/docs/stringUtils/-internal-.md +0 -17
  145. package/docs/stringUtils/README.md +0 -270
  146. package/docs/testUtils.md +0 -382
  147. package/docs/throttle/-internal-.md +0 -47
  148. package/docs/throttle/README.md +0 -178
  149. package/docs/time.md +0 -274
  150. package/docs/timers.md +0 -256
  151. package/docs/tsResult/-internal-.md +0 -327
  152. package/docs/tsResult/README.md +0 -702
  153. package/docs/typeGuards.md +0 -399
  154. package/docs/typeUtils/-internal-.md +0 -99
  155. package/docs/typeUtils/README.md +0 -195
  156. package/docs/typeUtils.typesTest.md +0 -7
  157. package/docs/typedStrings.md +0 -458
  158. package/docs/typingFnUtils/-internal-.md +0 -43
  159. package/docs/typingFnUtils/README.md +0 -317
  160. package/docs/typingTestUtils.md +0 -172
  161. package/docs/typingUtils.md +0 -135
  162. package/docs/yamlStringify.md +0 -83
@@ -1,93 +0,0 @@
1
- [**@ls-stack/utils**](README.md)
2
-
3
- ***
4
-
5
- [@ls-stack/utils](modules.md) / levenshtein
6
-
7
- # levenshtein
8
-
9
- ## Functions
10
-
11
- ### getClosestString()
12
-
13
- ```ts
14
- function getClosestString(
15
- str,
16
- arr,
17
- maxDistance): undefined | string;
18
- ```
19
-
20
- Defined in: [packages/utils/src/levenshtein.ts:134](https://github.com/lucasols/utils/blob/main/packages/utils/src/levenshtein.ts#L134)
21
-
22
- #### Parameters
23
-
24
- ##### str
25
-
26
- `string`
27
-
28
- ##### arr
29
-
30
- readonly `string`[]
31
-
32
- ##### maxDistance
33
-
34
- `number` = `2`
35
-
36
- #### Returns
37
-
38
- `undefined` \| `string`
39
-
40
- ***
41
-
42
- ### getClosestStringsUpToDist()
43
-
44
- ```ts
45
- function getClosestStringsUpToDist(
46
- str,
47
- arr,
48
- maxDistance): string[];
49
- ```
50
-
51
- Defined in: [packages/utils/src/levenshtein.ts:151](https://github.com/lucasols/utils/blob/main/packages/utils/src/levenshtein.ts#L151)
52
-
53
- #### Parameters
54
-
55
- ##### str
56
-
57
- `string`
58
-
59
- ##### arr
60
-
61
- readonly `string`[]
62
-
63
- ##### maxDistance
64
-
65
- `number` = `2`
66
-
67
- #### Returns
68
-
69
- `string`[]
70
-
71
- ***
72
-
73
- ### levenshteinDistance()
74
-
75
- ```ts
76
- function levenshteinDistance(a, b): number;
77
- ```
78
-
79
- Defined in: [packages/utils/src/levenshtein.ts:119](https://github.com/lucasols/utils/blob/main/packages/utils/src/levenshtein.ts#L119)
80
-
81
- #### Parameters
82
-
83
- ##### a
84
-
85
- `string`
86
-
87
- ##### b
88
-
89
- `string`
90
-
91
- #### Returns
92
-
93
- `number`
package/docs/main.md DELETED
@@ -1,21 +0,0 @@
1
- [**@ls-stack/utils**](README.md)
2
-
3
- ***
4
-
5
- [@ls-stack/utils](modules.md) / main
6
-
7
- # main
8
-
9
- ## Functions
10
-
11
- ### \_doNotUseThis()
12
-
13
- ```ts
14
- function _doNotUseThis(): never;
15
- ```
16
-
17
- Defined in: [packages/utils/src/main.ts:1](https://github.com/lucasols/utils/blob/main/packages/utils/src/main.ts#L1)
18
-
19
- #### Returns
20
-
21
- `never`
package/docs/mathUtils.md DELETED
@@ -1,137 +0,0 @@
1
- [**@ls-stack/utils**](README.md)
2
-
3
- ***
4
-
5
- [@ls-stack/utils](modules.md) / mathUtils
6
-
7
- # mathUtils
8
-
9
- ## Functions
10
-
11
- ### clamp()
12
-
13
- ```ts
14
- function clamp(
15
- num,
16
- min,
17
- max): number;
18
- ```
19
-
20
- Defined in: [packages/utils/src/mathUtils.ts:17](https://github.com/lucasols/utils/blob/main/packages/utils/src/mathUtils.ts#L17)
21
-
22
- #### Parameters
23
-
24
- ##### num
25
-
26
- `number`
27
-
28
- ##### min
29
-
30
- `number`
31
-
32
- ##### max
33
-
34
- `number`
35
-
36
- #### Returns
37
-
38
- `number`
39
-
40
- ***
41
-
42
- ### clampMax()
43
-
44
- ```ts
45
- function clampMax(value, max): number;
46
- ```
47
-
48
- Defined in: [packages/utils/src/mathUtils.ts:1](https://github.com/lucasols/utils/blob/main/packages/utils/src/mathUtils.ts#L1)
49
-
50
- #### Parameters
51
-
52
- ##### value
53
-
54
- `number`
55
-
56
- ##### max
57
-
58
- `number`
59
-
60
- #### Returns
61
-
62
- `number`
63
-
64
- ***
65
-
66
- ### clampMin()
67
-
68
- ```ts
69
- function clampMin(value, min): number;
70
- ```
71
-
72
- Defined in: [packages/utils/src/mathUtils.ts:5](https://github.com/lucasols/utils/blob/main/packages/utils/src/mathUtils.ts#L5)
73
-
74
- #### Parameters
75
-
76
- ##### value
77
-
78
- `number`
79
-
80
- ##### min
81
-
82
- `number`
83
-
84
- #### Returns
85
-
86
- `number`
87
-
88
- ***
89
-
90
- ### clampRange()
91
-
92
- ```ts
93
- function clampRange(
94
- num,
95
- v1,
96
- v2): number;
97
- ```
98
-
99
- Defined in: [packages/utils/src/mathUtils.ts:9](https://github.com/lucasols/utils/blob/main/packages/utils/src/mathUtils.ts#L9)
100
-
101
- #### Parameters
102
-
103
- ##### num
104
-
105
- `number`
106
-
107
- ##### v1
108
-
109
- `number`
110
-
111
- ##### v2
112
-
113
- `number`
114
-
115
- #### Returns
116
-
117
- `number`
118
-
119
- ***
120
-
121
- ### fixFloatingPointNumber()
122
-
123
- ```ts
124
- function fixFloatingPointNumber(value): number;
125
- ```
126
-
127
- Defined in: [packages/utils/src/mathUtils.ts:25](https://github.com/lucasols/utils/blob/main/packages/utils/src/mathUtils.ts#L25)
128
-
129
- #### Parameters
130
-
131
- ##### value
132
-
133
- `number`
134
-
135
- #### Returns
136
-
137
- `number`
package/docs/modules.md DELETED
@@ -1,58 +0,0 @@
1
- [**@ls-stack/utils**](README.md)
2
-
3
- ***
4
-
5
- # @ls-stack/utils
6
-
7
- ## Modules
8
-
9
- - [arrayUtils](arrayUtils/README.md)
10
- - [assertions](assertions/README.md)
11
- - [asyncQueue](asyncQueue/README.md)
12
- - [awaitDebounce](awaitDebounce.md)
13
- - [cache](cache/README.md)
14
- - [castValues](castValues.md)
15
- - [concurrentCalls](concurrentCalls/README.md)
16
- - [consoleFmt](consoleFmt.md)
17
- - [conversions](conversions.md)
18
- - [createThrottleController](createThrottleController/README.md)
19
- - [debounce](debounce.md)
20
- - [dedent](dedent/README.md)
21
- - [deepEqual](deepEqual.md)
22
- - [enhancedMap](enhancedMap.md)
23
- - [exhaustiveMatch](exhaustiveMatch/README.md)
24
- - [filterObjectOrArrayKeys](filterObjectOrArrayKeys.md)
25
- - [getAutoIncrementId](getAutoIncrementId.md)
26
- - [getCompositeKey](getCompositeKey.md)
27
- - [getValueStableKey](getValueStableKey.md)
28
- - [hash](hash.md)
29
- - [interpolate](interpolate/README.md)
30
- - [keepPrevIfUnchanged](keepPrevIfUnchanged.md)
31
- - [levenshtein](levenshtein.md)
32
- - [main](main.md)
33
- - [mathUtils](mathUtils.md)
34
- - [mutationUtils](mutationUtils.md)
35
- - [objUtils](objUtils.md)
36
- - [parallelAsyncCalls](parallelAsyncCalls/README.md)
37
- - [promiseUtils](promiseUtils/README.md)
38
- - [retryOnError](retryOnError/README.md)
39
- - [runShellCmd](runShellCmd/README.md)
40
- - [safeJson](safeJson.md)
41
- - [saferTyping](saferTyping.md)
42
- - [serializeXML](serializeXML.md)
43
- - [shallowEqual](shallowEqual.md)
44
- - [sleep](sleep.md)
45
- - [stringUtils](stringUtils/README.md)
46
- - [testUtils](testUtils.md)
47
- - [throttle](throttle/README.md)
48
- - [time](time.md)
49
- - [timers](timers.md)
50
- - [tsResult](tsResult/README.md)
51
- - [typedStrings](typedStrings.md)
52
- - [typeGuards](typeGuards.md)
53
- - [typeUtils](typeUtils/README.md)
54
- - [typeUtils.typesTest](typeUtils.typesTest.md)
55
- - [typingFnUtils](typingFnUtils/README.md)
56
- - [typingTestUtils](typingTestUtils.md)
57
- - [typingUtils](typingUtils.md)
58
- - [yamlStringify](yamlStringify.md)
@@ -1,44 +0,0 @@
1
- [**@ls-stack/utils**](README.md)
2
-
3
- ***
4
-
5
- [@ls-stack/utils](modules.md) / mutationUtils
6
-
7
- # mutationUtils
8
-
9
- ## Functions
10
-
11
- ### updateObject()
12
-
13
- ```ts
14
- function updateObject<T>(object, updates): void;
15
- ```
16
-
17
- Defined in: [packages/utils/src/mutationUtils.ts:10](https://github.com/lucasols/utils/blob/main/packages/utils/src/mutationUtils.ts#L10)
18
-
19
- Updates an object with a new set of values. undefined values are ignored in the updates object
20
- and deep equal values are not updated.
21
-
22
- #### Type Parameters
23
-
24
- ##### T
25
-
26
- `T` *extends* `Record`\<`string`, `unknown`\>
27
-
28
- #### Parameters
29
-
30
- ##### object
31
-
32
- The object to update.
33
-
34
- `undefined` | `null` | `T`
35
-
36
- ##### updates
37
-
38
- `Partial`\<`T`\>
39
-
40
- The new values to update the object with.
41
-
42
- #### Returns
43
-
44
- `void`
package/docs/objUtils.md DELETED
@@ -1,237 +0,0 @@
1
- [**@ls-stack/utils**](README.md)
2
-
3
- ***
4
-
5
- [@ls-stack/utils](modules.md) / objUtils
6
-
7
- # objUtils
8
-
9
- ## Functions
10
-
11
- ### looseGetObjectProperty()
12
-
13
- ```ts
14
- function looseGetObjectProperty<T>(obj, key): undefined | T[keyof T];
15
- ```
16
-
17
- Defined in: [packages/utils/src/objUtils.ts:53](https://github.com/lucasols/utils/blob/main/packages/utils/src/objUtils.ts#L53)
18
-
19
- #### Type Parameters
20
-
21
- ##### T
22
-
23
- `T` *extends* `Record`\<`string`, `unknown`\>
24
-
25
- #### Parameters
26
-
27
- ##### obj
28
-
29
- `T`
30
-
31
- ##### key
32
-
33
- `string`
34
-
35
- #### Returns
36
-
37
- `undefined` \| `T`\[keyof `T`\]
38
-
39
- ***
40
-
41
- ### mapArrayToObject()
42
-
43
- ```ts
44
- function mapArrayToObject<T, K, O>(array, mapper): Record<K, O>;
45
- ```
46
-
47
- Defined in: [packages/utils/src/objUtils.ts:21](https://github.com/lucasols/utils/blob/main/packages/utils/src/objUtils.ts#L21)
48
-
49
- #### Type Parameters
50
-
51
- ##### T
52
-
53
- `T`
54
-
55
- ##### K
56
-
57
- `K` *extends* `string`
58
-
59
- ##### O
60
-
61
- `O`
62
-
63
- #### Parameters
64
-
65
- ##### array
66
-
67
- `T`[]
68
-
69
- ##### mapper
70
-
71
- (`item`, `index`) => \[`K`, `O`\]
72
-
73
- #### Returns
74
-
75
- `Record`\<`K`, `O`\>
76
-
77
- ***
78
-
79
- ### mapObjectToObject()
80
-
81
- ```ts
82
- function mapObjectToObject<I, K, O>(obj, mapper): Record<K, O>;
83
- ```
84
-
85
- Defined in: [packages/utils/src/objUtils.ts:28](https://github.com/lucasols/utils/blob/main/packages/utils/src/objUtils.ts#L28)
86
-
87
- #### Type Parameters
88
-
89
- ##### I
90
-
91
- `I` *extends* `Record`\<`string` \| `number` \| `symbol`, `unknown`\>
92
-
93
- ##### K
94
-
95
- `K` *extends* `string` \| `number` \| `symbol`
96
-
97
- ##### O
98
-
99
- `O`
100
-
101
- #### Parameters
102
-
103
- ##### obj
104
-
105
- `I`
106
-
107
- ##### mapper
108
-
109
- (`key`, `value`) => \[`K`, `O`\]
110
-
111
- #### Returns
112
-
113
- `Record`\<`K`, `O`\>
114
-
115
- ***
116
-
117
- ### ~~objectTypedEntries()~~
118
-
119
- ```ts
120
- function objectTypedEntries<T>(obj): [Extract<keyof T, string>, T[keyof T]][];
121
- ```
122
-
123
- Defined in: [packages/utils/src/objUtils.ts:5](https://github.com/lucasols/utils/blob/main/packages/utils/src/objUtils.ts#L5)
124
-
125
- #### Type Parameters
126
-
127
- ##### T
128
-
129
- `T` *extends* `Record`\<`string`, `unknown`\>
130
-
131
- #### Parameters
132
-
133
- ##### obj
134
-
135
- `T`
136
-
137
- #### Returns
138
-
139
- \[`Extract`\<keyof `T`, `string`\>, `T`\[keyof `T`\]\][]
140
-
141
- #### Deprecated
142
-
143
- use typedObjectEntries from @ls-stack/utils/typingFnUtils instead
144
-
145
- ***
146
-
147
- ### omit()
148
-
149
- ```ts
150
- function omit<T, K>(obj, keys): Omit<T, K>;
151
- ```
152
-
153
- Defined in: [packages/utils/src/objUtils.ts:38](https://github.com/lucasols/utils/blob/main/packages/utils/src/objUtils.ts#L38)
154
-
155
- #### Type Parameters
156
-
157
- ##### T
158
-
159
- `T` *extends* `Record`\<`string`, `unknown`\>
160
-
161
- ##### K
162
-
163
- `K` *extends* `string` \| `number` \| `symbol`
164
-
165
- #### Parameters
166
-
167
- ##### obj
168
-
169
- `T`
170
-
171
- ##### keys
172
-
173
- `K`[]
174
-
175
- #### Returns
176
-
177
- `Omit`\<`T`, `K`\>
178
-
179
- ***
180
-
181
- ### pick()
182
-
183
- ```ts
184
- function pick<T, K>(obj, keys): Pick<T, K>;
185
- ```
186
-
187
- Defined in: [packages/utils/src/objUtils.ts:9](https://github.com/lucasols/utils/blob/main/packages/utils/src/objUtils.ts#L9)
188
-
189
- #### Type Parameters
190
-
191
- ##### T
192
-
193
- `T` *extends* `Record`\<`string`, `unknown`\>
194
-
195
- ##### K
196
-
197
- `K` *extends* `string` \| `number` \| `symbol`
198
-
199
- #### Parameters
200
-
201
- ##### obj
202
-
203
- `T`
204
-
205
- ##### keys
206
-
207
- `K`[]
208
-
209
- #### Returns
210
-
211
- `Pick`\<`T`, `K`\>
212
-
213
- ***
214
-
215
- ### rejectObjUndefinedValues()
216
-
217
- ```ts
218
- function rejectObjUndefinedValues<T>(obj): T;
219
- ```
220
-
221
- Defined in: [packages/utils/src/objUtils.ts:60](https://github.com/lucasols/utils/blob/main/packages/utils/src/objUtils.ts#L60)
222
-
223
- #### Type Parameters
224
-
225
- ##### T
226
-
227
- `T` *extends* `Record`\<`string`, `unknown`\>
228
-
229
- #### Parameters
230
-
231
- ##### obj
232
-
233
- `T`
234
-
235
- #### Returns
236
-
237
- `T`