@isdk/util 0.3.8 → 0.3.10
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/dist/index.d.mts +260 -144
- package/dist/index.d.ts +260 -144
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/classes/BinarySemaphore.md +145 -64
- package/docs/classes/ConfigFile.md +8 -8
- package/docs/classes/Deque.md +109 -105
- package/docs/classes/IntSet.md +12 -12
- package/docs/classes/Semaphore.md +149 -77
- package/docs/classes/SignalGate.md +11 -11
- package/docs/functions/RateLimit.md +30 -7
- package/docs/functions/arrayHasAll.md +1 -1
- package/docs/functions/extNameLevel.md +1 -1
- package/docs/functions/extractCodeBlock.md +3 -3
- package/docs/functions/extractTopLevelCodeBlocks.md +1 -1
- package/docs/functions/filenameReservedRegex.md +1 -1
- package/docs/functions/findPort.md +13 -5
- package/docs/functions/getMultiLevelExtname.md +1 -1
- package/docs/functions/glob.md +1 -1
- package/docs/functions/isStringIn.md +3 -3
- package/docs/functions/isValidFilename.md +1 -1
- package/docs/functions/isValidFilepath.md +1 -1
- package/docs/functions/normalizeIncludeFiles.md +3 -3
- package/docs/functions/omitDeepBy.md +1 -1
- package/docs/functions/omitEmptyDeep.md +1 -1
- package/docs/functions/parseCodeBlockSelector.md +2 -2
- package/docs/functions/parseFrontMatter.md +1 -1
- package/docs/functions/parseYaml.md +1 -1
- package/docs/functions/reControlCharsRegex.md +1 -1
- package/docs/functions/registerYamlTag.md +3 -3
- package/docs/functions/removeLeadingEmptyLines.md +1 -1
- package/docs/functions/sanitizeFilename.md +1 -1
- package/docs/functions/sanitizeFilepath.md +1 -1
- package/docs/functions/sleep.md +1 -1
- package/docs/functions/stringifyYaml.md +1 -1
- package/docs/functions/toCamelCase.md +1 -1
- package/docs/functions/toCapitalCase.md +1 -1
- package/docs/functions/toPascalCase.md +1 -1
- package/docs/functions/traverseFolder.md +1 -1
- package/docs/functions/traverseFolderSync.md +1 -1
- package/docs/functions/yieldExec.md +1 -1
- package/docs/globals.md +1 -0
- package/docs/interfaces/BinarySemaphoreAcquireOptions.md +11 -4
- package/docs/interfaces/BinarySemaphoreOptions.md +29 -12
- package/docs/interfaces/BinarySemaphoreReleaseOptions.md +10 -4
- package/docs/interfaces/BinarySemaphoreReleaserFunc.md +14 -5
- package/docs/interfaces/CodeBlockSelectorPart.md +4 -4
- package/docs/interfaces/CodeString.md +89 -89
- package/docs/interfaces/ExtractCodeBlockOptions.md +9 -9
- package/docs/interfaces/FindPortOptions.md +25 -0
- package/docs/interfaces/IncludeFiles.md +5 -5
- package/docs/interfaces/LoadConfigFileOptions.md +5 -5
- package/docs/interfaces/SanitizeFilenameOptions.md +5 -5
- package/docs/interfaces/SemaphoreOptions.md +39 -16
- package/docs/interfaces/SemaphoreTaskItem.md +23 -10
- package/docs/type-aliases/CodeBlockCombinator.md +1 -1
- package/docs/type-aliases/SemaphoreIsReadyFuncType.md +5 -2
- package/docs/type-aliases/StringifyFunc.md +2 -2
- package/docs/type-aliases/TraverseFolderHandler.md +2 -2
- package/docs/type-aliases/TraverseFolderSyncHandler.md +2 -2
- package/docs/variables/DefaultAllTextFiles.md +1 -1
- package/docs/variables/DefaultAsyncSemaphoreCapacity.md +4 -1
- package/docs/variables/FilenameReservedRegex.md +1 -1
- package/docs/variables/WindowsReservedNameRegex.md +1 -1
- package/package.json +20 -17
package/docs/classes/Deque.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: Deque\<T\>
|
|
8
8
|
|
|
9
|
-
Defined in: [src/deque.ts:31](https://github.com/isdk/util.js/blob/
|
|
9
|
+
Defined in: [src/deque.ts:31](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L31)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Defined in: [src/deque.ts:31](https://github.com/isdk/util.js/blob/2279f0b436362
|
|
|
20
20
|
|
|
21
21
|
## Indexable
|
|
22
22
|
|
|
23
|
-
\[`n`: `number`\]: `T`
|
|
23
|
+
> \[`n`: `number`\]: `T`
|
|
24
24
|
|
|
25
25
|
## Constructors
|
|
26
26
|
|
|
@@ -28,13 +28,13 @@ Defined in: [src/deque.ts:31](https://github.com/isdk/util.js/blob/2279f0b436362
|
|
|
28
28
|
|
|
29
29
|
> **new Deque**\<`T`\>(`capacity?`, `disableAutoResize?`): `Deque`\<`T`\>
|
|
30
30
|
|
|
31
|
-
Defined in: [src/deque.ts:37](https://github.com/isdk/util.js/blob/
|
|
31
|
+
Defined in: [src/deque.ts:37](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L37)
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
35
35
|
##### capacity?
|
|
36
36
|
|
|
37
|
-
`number`
|
|
37
|
+
`number` \| `T`[]
|
|
38
38
|
|
|
39
39
|
##### disableAutoResize?
|
|
40
40
|
|
|
@@ -54,7 +54,7 @@ Defined in: [src/deque.ts:37](https://github.com/isdk/util.js/blob/2279f0b436362
|
|
|
54
54
|
|
|
55
55
|
> `readonly` **\[unscopables\]**: `object`
|
|
56
56
|
|
|
57
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
57
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:97
|
|
58
58
|
|
|
59
59
|
Is an object whose properties have the value 'true'
|
|
60
60
|
when they will be absent when used in a 'with' statement.
|
|
@@ -65,148 +65,148 @@ when they will be absent when used in a 'with' statement.
|
|
|
65
65
|
|
|
66
66
|
#### \[iterator\]?
|
|
67
67
|
|
|
68
|
-
> `optional` **\[iterator\]
|
|
68
|
+
> `optional` **\[iterator\]?**: `boolean`
|
|
69
69
|
|
|
70
70
|
#### \[unscopables\]?
|
|
71
71
|
|
|
72
|
-
> `readonly` `optional` **\[unscopables\]
|
|
72
|
+
> `readonly` `optional` **\[unscopables\]?**: `boolean`
|
|
73
73
|
|
|
74
74
|
Is an object whose properties have the value 'true'
|
|
75
75
|
when they will be absent when used in a 'with' statement.
|
|
76
76
|
|
|
77
77
|
#### at?
|
|
78
78
|
|
|
79
|
-
> `optional` **at
|
|
79
|
+
> `optional` **at?**: `boolean`
|
|
80
80
|
|
|
81
81
|
#### concat?
|
|
82
82
|
|
|
83
|
-
> `optional` **concat
|
|
83
|
+
> `optional` **concat?**: `boolean`
|
|
84
84
|
|
|
85
85
|
#### copyWithin?
|
|
86
86
|
|
|
87
|
-
> `optional` **copyWithin
|
|
87
|
+
> `optional` **copyWithin?**: `boolean`
|
|
88
88
|
|
|
89
89
|
#### entries?
|
|
90
90
|
|
|
91
|
-
> `optional` **entries
|
|
91
|
+
> `optional` **entries?**: `boolean`
|
|
92
92
|
|
|
93
93
|
#### every?
|
|
94
94
|
|
|
95
|
-
> `optional` **every
|
|
95
|
+
> `optional` **every?**: `boolean`
|
|
96
96
|
|
|
97
97
|
#### fill?
|
|
98
98
|
|
|
99
|
-
> `optional` **fill
|
|
99
|
+
> `optional` **fill?**: `boolean`
|
|
100
100
|
|
|
101
101
|
#### filter?
|
|
102
102
|
|
|
103
|
-
> `optional` **filter
|
|
103
|
+
> `optional` **filter?**: `boolean`
|
|
104
104
|
|
|
105
105
|
#### find?
|
|
106
106
|
|
|
107
|
-
> `optional` **find
|
|
107
|
+
> `optional` **find?**: `boolean`
|
|
108
108
|
|
|
109
109
|
#### findIndex?
|
|
110
110
|
|
|
111
|
-
> `optional` **findIndex
|
|
111
|
+
> `optional` **findIndex?**: `boolean`
|
|
112
112
|
|
|
113
113
|
#### flat?
|
|
114
114
|
|
|
115
|
-
> `optional` **flat
|
|
115
|
+
> `optional` **flat?**: `boolean`
|
|
116
116
|
|
|
117
117
|
#### flatMap?
|
|
118
118
|
|
|
119
|
-
> `optional` **flatMap
|
|
119
|
+
> `optional` **flatMap?**: `boolean`
|
|
120
120
|
|
|
121
121
|
#### forEach?
|
|
122
122
|
|
|
123
|
-
> `optional` **forEach
|
|
123
|
+
> `optional` **forEach?**: `boolean`
|
|
124
124
|
|
|
125
125
|
#### includes?
|
|
126
126
|
|
|
127
|
-
> `optional` **includes
|
|
127
|
+
> `optional` **includes?**: `boolean`
|
|
128
128
|
|
|
129
129
|
#### indexOf?
|
|
130
130
|
|
|
131
|
-
> `optional` **indexOf
|
|
131
|
+
> `optional` **indexOf?**: `boolean`
|
|
132
132
|
|
|
133
133
|
#### join?
|
|
134
134
|
|
|
135
|
-
> `optional` **join
|
|
135
|
+
> `optional` **join?**: `boolean`
|
|
136
136
|
|
|
137
137
|
#### keys?
|
|
138
138
|
|
|
139
|
-
> `optional` **keys
|
|
139
|
+
> `optional` **keys?**: `boolean`
|
|
140
140
|
|
|
141
141
|
#### lastIndexOf?
|
|
142
142
|
|
|
143
|
-
> `optional` **lastIndexOf
|
|
143
|
+
> `optional` **lastIndexOf?**: `boolean`
|
|
144
144
|
|
|
145
145
|
#### length?
|
|
146
146
|
|
|
147
|
-
> `optional` **length
|
|
147
|
+
> `optional` **length?**: `boolean`
|
|
148
148
|
|
|
149
149
|
Gets or sets the length of the array. This is a number one higher than the highest index in the array.
|
|
150
150
|
|
|
151
151
|
#### map?
|
|
152
152
|
|
|
153
|
-
> `optional` **map
|
|
153
|
+
> `optional` **map?**: `boolean`
|
|
154
154
|
|
|
155
155
|
#### pop?
|
|
156
156
|
|
|
157
|
-
> `optional` **pop
|
|
157
|
+
> `optional` **pop?**: `boolean`
|
|
158
158
|
|
|
159
159
|
#### push?
|
|
160
160
|
|
|
161
|
-
> `optional` **push
|
|
161
|
+
> `optional` **push?**: `boolean`
|
|
162
162
|
|
|
163
163
|
#### reduce?
|
|
164
164
|
|
|
165
|
-
> `optional` **reduce
|
|
165
|
+
> `optional` **reduce?**: `boolean`
|
|
166
166
|
|
|
167
167
|
#### reduceRight?
|
|
168
168
|
|
|
169
|
-
> `optional` **reduceRight
|
|
169
|
+
> `optional` **reduceRight?**: `boolean`
|
|
170
170
|
|
|
171
171
|
#### reverse?
|
|
172
172
|
|
|
173
|
-
> `optional` **reverse
|
|
173
|
+
> `optional` **reverse?**: `boolean`
|
|
174
174
|
|
|
175
175
|
#### shift?
|
|
176
176
|
|
|
177
|
-
> `optional` **shift
|
|
177
|
+
> `optional` **shift?**: `boolean`
|
|
178
178
|
|
|
179
179
|
#### slice?
|
|
180
180
|
|
|
181
|
-
> `optional` **slice
|
|
181
|
+
> `optional` **slice?**: `boolean`
|
|
182
182
|
|
|
183
183
|
#### some?
|
|
184
184
|
|
|
185
|
-
> `optional` **some
|
|
185
|
+
> `optional` **some?**: `boolean`
|
|
186
186
|
|
|
187
187
|
#### sort?
|
|
188
188
|
|
|
189
|
-
> `optional` **sort
|
|
189
|
+
> `optional` **sort?**: `boolean`
|
|
190
190
|
|
|
191
191
|
#### splice?
|
|
192
192
|
|
|
193
|
-
> `optional` **splice
|
|
193
|
+
> `optional` **splice?**: `boolean`
|
|
194
194
|
|
|
195
195
|
#### toLocaleString?
|
|
196
196
|
|
|
197
|
-
> `optional` **toLocaleString
|
|
197
|
+
> `optional` **toLocaleString?**: `boolean`
|
|
198
198
|
|
|
199
199
|
#### toString?
|
|
200
200
|
|
|
201
|
-
> `optional` **toString
|
|
201
|
+
> `optional` **toString?**: `boolean`
|
|
202
202
|
|
|
203
203
|
#### unshift?
|
|
204
204
|
|
|
205
|
-
> `optional` **unshift
|
|
205
|
+
> `optional` **unshift?**: `boolean`
|
|
206
206
|
|
|
207
207
|
#### values?
|
|
208
208
|
|
|
209
|
-
> `optional` **values
|
|
209
|
+
> `optional` **values?**: `boolean`
|
|
210
210
|
|
|
211
211
|
#### Inherited from
|
|
212
212
|
|
|
@@ -218,7 +218,7 @@ Gets or sets the length of the array. This is a number one higher than the highe
|
|
|
218
218
|
|
|
219
219
|
> **length**: `number`
|
|
220
220
|
|
|
221
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
221
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1329
|
|
222
222
|
|
|
223
223
|
Gets or sets the length of the array. This is a number one higher than the highest index in the array.
|
|
224
224
|
|
|
@@ -232,7 +232,7 @@ Gets or sets the length of the array. This is a number one higher than the highe
|
|
|
232
232
|
|
|
233
233
|
> `readonly` `static` **\[species\]**: `ArrayConstructor`
|
|
234
234
|
|
|
235
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
235
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:316
|
|
236
236
|
|
|
237
237
|
#### Inherited from
|
|
238
238
|
|
|
@@ -246,7 +246,7 @@ Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/li
|
|
|
246
246
|
|
|
247
247
|
> **get** **size**(): `number`
|
|
248
248
|
|
|
249
|
-
Defined in: [src/deque.ts:171](https://github.com/isdk/util.js/blob/
|
|
249
|
+
Defined in: [src/deque.ts:171](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L171)
|
|
250
250
|
|
|
251
251
|
Gets the number of elements in the deque.
|
|
252
252
|
|
|
@@ -273,7 +273,7 @@ The current count of elements in the deque.
|
|
|
273
273
|
|
|
274
274
|
> **\[iterator\]**(): `ArrayIterator`\<`T`\>
|
|
275
275
|
|
|
276
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
276
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.iterable.d.ts:78
|
|
277
277
|
|
|
278
278
|
Iterator
|
|
279
279
|
|
|
@@ -291,7 +291,7 @@ Iterator
|
|
|
291
291
|
|
|
292
292
|
> **at**(`index`): `T` \| `undefined`
|
|
293
293
|
|
|
294
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
294
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2022.array.d.ts:24
|
|
295
295
|
|
|
296
296
|
Returns the item located at the specified index.
|
|
297
297
|
|
|
@@ -317,7 +317,7 @@ The zero-based index of the desired code unit. A negative index will count back
|
|
|
317
317
|
|
|
318
318
|
> **clear**(): `void`
|
|
319
319
|
|
|
320
|
-
Defined in: [src/deque.ts:206](https://github.com/isdk/util.js/blob/
|
|
320
|
+
Defined in: [src/deque.ts:206](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L206)
|
|
321
321
|
|
|
322
322
|
#### Returns
|
|
323
323
|
|
|
@@ -331,7 +331,7 @@ Defined in: [src/deque.ts:206](https://github.com/isdk/util.js/blob/2279f0b43636
|
|
|
331
331
|
|
|
332
332
|
> **concat**(...`items`): `T`[]
|
|
333
333
|
|
|
334
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
334
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1353
|
|
335
335
|
|
|
336
336
|
Combines two or more arrays.
|
|
337
337
|
This method returns a new array without modifying any existing arrays.
|
|
@@ -356,7 +356,7 @@ Additional arrays and/or items to add to the end of the array.
|
|
|
356
356
|
|
|
357
357
|
> **concat**(...`items`): `T`[]
|
|
358
358
|
|
|
359
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
359
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1359
|
|
360
360
|
|
|
361
361
|
Combines two or more arrays.
|
|
362
362
|
This method returns a new array without modifying any existing arrays.
|
|
@@ -383,7 +383,7 @@ Additional arrays and/or items to add to the end of the array.
|
|
|
383
383
|
|
|
384
384
|
> **copyWithin**(`target`, `start`, `end?`): `this`
|
|
385
385
|
|
|
386
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
386
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:62
|
|
387
387
|
|
|
388
388
|
Returns the this object after copying a section of the array identified by start and end
|
|
389
389
|
to the same array starting at position target
|
|
@@ -424,7 +424,7 @@ If not specified, length of the this object is used as its default value.
|
|
|
424
424
|
|
|
425
425
|
> **entries**(): `ArrayIterator`\<\[`number`, `T`\]\>
|
|
426
426
|
|
|
427
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
427
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.iterable.d.ts:83
|
|
428
428
|
|
|
429
429
|
Returns an iterable of key, value pairs for every entry in the array
|
|
430
430
|
|
|
@@ -444,7 +444,7 @@ Returns an iterable of key, value pairs for every entry in the array
|
|
|
444
444
|
|
|
445
445
|
> **every**\<`S`\>(`predicate`, `thisArg?`): `this is S[]`
|
|
446
446
|
|
|
447
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
447
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1440
|
|
448
448
|
|
|
449
449
|
Determines whether all the members of an array satisfy the specified test.
|
|
450
450
|
|
|
@@ -483,7 +483,7 @@ If thisArg is omitted, undefined is used as the this value.
|
|
|
483
483
|
|
|
484
484
|
> **every**(`predicate`, `thisArg?`): `boolean`
|
|
485
485
|
|
|
486
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
486
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1449
|
|
487
487
|
|
|
488
488
|
Determines whether all the members of an array satisfy the specified test.
|
|
489
489
|
|
|
@@ -518,7 +518,7 @@ If thisArg is omitted, undefined is used as the this value.
|
|
|
518
518
|
|
|
519
519
|
> **fill**(`value`, `start?`, `end?`): `this`
|
|
520
520
|
|
|
521
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
521
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:51
|
|
522
522
|
|
|
523
523
|
Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
|
|
524
524
|
|
|
@@ -560,7 +560,7 @@ length+end.
|
|
|
560
560
|
|
|
561
561
|
> **filter**\<`S`\>(`predicate`, `thisArg?`): `S`[]
|
|
562
562
|
|
|
563
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
563
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1476
|
|
564
564
|
|
|
565
565
|
Returns the elements of an array that meet the condition specified in a callback function.
|
|
566
566
|
|
|
@@ -596,7 +596,7 @@ An object to which the this keyword can refer in the predicate function. If this
|
|
|
596
596
|
|
|
597
597
|
> **filter**(`predicate`, `thisArg?`): `T`[]
|
|
598
598
|
|
|
599
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
599
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1482
|
|
600
600
|
|
|
601
601
|
Returns the elements of an array that meet the condition specified in a callback function.
|
|
602
602
|
|
|
@@ -630,7 +630,7 @@ An object to which the this keyword can refer in the predicate function. If this
|
|
|
630
630
|
|
|
631
631
|
> **find**\<`S`\>(`predicate`, `thisArg?`): `S` \| `undefined`
|
|
632
632
|
|
|
633
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
633
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:29
|
|
634
634
|
|
|
635
635
|
Returns the value of the first element in the array where predicate is true, and undefined
|
|
636
636
|
otherwise.
|
|
@@ -670,7 +670,7 @@ predicate. If it is not provided, undefined is used instead.
|
|
|
670
670
|
|
|
671
671
|
> **find**(`predicate`, `thisArg?`): `T` \| `undefined`
|
|
672
672
|
|
|
673
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
673
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:30
|
|
674
674
|
|
|
675
675
|
##### Parameters
|
|
676
676
|
|
|
@@ -696,7 +696,7 @@ Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/li
|
|
|
696
696
|
|
|
697
697
|
> **findIndex**(`predicate`, `thisArg?`): `number`
|
|
698
698
|
|
|
699
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
699
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:41
|
|
700
700
|
|
|
701
701
|
Returns the index of the first element in the array where predicate is true, and -1
|
|
702
702
|
otherwise.
|
|
@@ -732,7 +732,7 @@ predicate. If it is not provided, undefined is used instead.
|
|
|
732
732
|
|
|
733
733
|
> **flat**\<`A`, `D`\>(`this`, `depth?`): `FlatArray`\<`A`, `D`\>[]
|
|
734
734
|
|
|
735
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
735
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2019.array.d.ts:75
|
|
736
736
|
|
|
737
737
|
Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
738
738
|
specified depth.
|
|
@@ -773,7 +773,7 @@ The maximum recursion depth
|
|
|
773
773
|
|
|
774
774
|
> **flatMap**\<`U`, `This`\>(`callback`, `thisArg?`): `U`[]
|
|
775
775
|
|
|
776
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
776
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2019.array.d.ts:64
|
|
777
777
|
|
|
778
778
|
Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
779
779
|
a new array.
|
|
@@ -819,7 +819,7 @@ thisArg is omitted, undefined is used as the this value.
|
|
|
819
819
|
|
|
820
820
|
> **forEach**(`callbackfn`, `thisArg?`): `void`
|
|
821
821
|
|
|
822
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
822
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1464
|
|
823
823
|
|
|
824
824
|
Performs the specified action for each element in an array.
|
|
825
825
|
|
|
@@ -851,7 +851,7 @@ An object to which the this keyword can refer in the callbackfn function. If thi
|
|
|
851
851
|
|
|
852
852
|
> **get**(`index`): `T` \| `undefined`
|
|
853
853
|
|
|
854
|
-
Defined in: [src/deque.ts:175](https://github.com/isdk/util.js/blob/
|
|
854
|
+
Defined in: [src/deque.ts:175](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L175)
|
|
855
855
|
|
|
856
856
|
#### Parameters
|
|
857
857
|
|
|
@@ -869,7 +869,7 @@ Defined in: [src/deque.ts:175](https://github.com/isdk/util.js/blob/2279f0b43636
|
|
|
869
869
|
|
|
870
870
|
> **includes**(`searchElement`, `fromIndex?`): `boolean`
|
|
871
871
|
|
|
872
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
872
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2016.array.include.d.ts:25
|
|
873
873
|
|
|
874
874
|
Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
875
875
|
|
|
@@ -901,7 +901,7 @@ The position in this array at which to begin searching for searchElement.
|
|
|
901
901
|
|
|
902
902
|
> **indexOf**(`searchElement`, `fromIndex?`): `number`
|
|
903
903
|
|
|
904
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
904
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1425
|
|
905
905
|
|
|
906
906
|
Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
907
907
|
|
|
@@ -933,7 +933,7 @@ The array index at which to begin the search. If fromIndex is omitted, the searc
|
|
|
933
933
|
|
|
934
934
|
> **isEmpty**(): `boolean`
|
|
935
935
|
|
|
936
|
-
Defined in: [src/deque.ts:217](https://github.com/isdk/util.js/blob/
|
|
936
|
+
Defined in: [src/deque.ts:217](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L217)
|
|
937
937
|
|
|
938
938
|
#### Returns
|
|
939
939
|
|
|
@@ -945,7 +945,7 @@ Defined in: [src/deque.ts:217](https://github.com/isdk/util.js/blob/2279f0b43636
|
|
|
945
945
|
|
|
946
946
|
> **join**(`separator?`): `string`
|
|
947
947
|
|
|
948
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
948
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1364
|
|
949
949
|
|
|
950
950
|
Adds all the elements of an array into a string, separated by the specified separator string.
|
|
951
951
|
|
|
@@ -971,7 +971,7 @@ A string used to separate one element of the array from the next in the resultin
|
|
|
971
971
|
|
|
972
972
|
> **keys**(): `ArrayIterator`\<`number`\>
|
|
973
973
|
|
|
974
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
974
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.iterable.d.ts:88
|
|
975
975
|
|
|
976
976
|
Returns an iterable of keys in the array
|
|
977
977
|
|
|
@@ -989,7 +989,7 @@ Returns an iterable of keys in the array
|
|
|
989
989
|
|
|
990
990
|
> **lastIndexOf**(`searchElement`, `fromIndex?`): `number`
|
|
991
991
|
|
|
992
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
992
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1431
|
|
993
993
|
|
|
994
994
|
Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
995
995
|
|
|
@@ -1021,7 +1021,7 @@ The array index at which to begin searching backward. If fromIndex is omitted, t
|
|
|
1021
1021
|
|
|
1022
1022
|
> **map**\<`U`\>(`callbackfn`, `thisArg?`): `U`[]
|
|
1023
1023
|
|
|
1024
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1024
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1470
|
|
1025
1025
|
|
|
1026
1026
|
Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
1027
1027
|
|
|
@@ -1059,7 +1059,7 @@ An object to which the this keyword can refer in the callbackfn function. If thi
|
|
|
1059
1059
|
|
|
1060
1060
|
> **peekBack**(): `T` \| `undefined`
|
|
1061
1061
|
|
|
1062
|
-
Defined in: [src/deque.ts:190](https://github.com/isdk/util.js/blob/
|
|
1062
|
+
Defined in: [src/deque.ts:190](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L190)
|
|
1063
1063
|
|
|
1064
1064
|
#### Returns
|
|
1065
1065
|
|
|
@@ -1071,7 +1071,7 @@ Defined in: [src/deque.ts:190](https://github.com/isdk/util.js/blob/2279f0b43636
|
|
|
1071
1071
|
|
|
1072
1072
|
> **peekFront**(): `T` \| `undefined`
|
|
1073
1073
|
|
|
1074
|
-
Defined in: [src/deque.ts:199](https://github.com/isdk/util.js/blob/
|
|
1074
|
+
Defined in: [src/deque.ts:199](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L199)
|
|
1075
1075
|
|
|
1076
1076
|
#### Returns
|
|
1077
1077
|
|
|
@@ -1083,7 +1083,7 @@ Defined in: [src/deque.ts:199](https://github.com/isdk/util.js/blob/2279f0b43636
|
|
|
1083
1083
|
|
|
1084
1084
|
> **pop**(`skipNull?`): `T` \| `undefined`
|
|
1085
1085
|
|
|
1086
|
-
Defined in: [src/deque.ts:101](https://github.com/isdk/util.js/blob/
|
|
1086
|
+
Defined in: [src/deque.ts:101](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L101)
|
|
1087
1087
|
|
|
1088
1088
|
Removes and returns the element at the back of the deque.
|
|
1089
1089
|
|
|
@@ -1133,7 +1133,7 @@ mixedDeque.pop(false); // null (explicitly not skipping)
|
|
|
1133
1133
|
|
|
1134
1134
|
> **push**(`item`): `number`
|
|
1135
1135
|
|
|
1136
|
-
Defined in: [src/deque.ts:52](https://github.com/isdk/util.js/blob/
|
|
1136
|
+
Defined in: [src/deque.ts:52](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L52)
|
|
1137
1137
|
|
|
1138
1138
|
Appends new elements to the end of an array, and returns the new length of the array.
|
|
1139
1139
|
|
|
@@ -1159,7 +1159,7 @@ Appends new elements to the end of an array, and returns the new length of the a
|
|
|
1159
1159
|
|
|
1160
1160
|
> **reduce**(`callbackfn`): `T`
|
|
1161
1161
|
|
|
1162
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1162
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1488
|
|
1163
1163
|
|
|
1164
1164
|
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1165
1165
|
|
|
@@ -1183,7 +1183,7 @@ A function that accepts up to four arguments. The reduce method calls the callba
|
|
|
1183
1183
|
|
|
1184
1184
|
> **reduce**(`callbackfn`, `initialValue`): `T`
|
|
1185
1185
|
|
|
1186
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1186
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1489
|
|
1187
1187
|
|
|
1188
1188
|
##### Parameters
|
|
1189
1189
|
|
|
@@ -1207,7 +1207,7 @@ Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/li
|
|
|
1207
1207
|
|
|
1208
1208
|
> **reduce**\<`U`\>(`callbackfn`, `initialValue`): `U`
|
|
1209
1209
|
|
|
1210
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1210
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1495
|
|
1211
1211
|
|
|
1212
1212
|
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1213
1213
|
|
|
@@ -1247,7 +1247,7 @@ If initialValue is specified, it is used as the initial value to start the accum
|
|
|
1247
1247
|
|
|
1248
1248
|
> **reduceRight**(`callbackfn`): `T`
|
|
1249
1249
|
|
|
1250
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1250
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1501
|
|
1251
1251
|
|
|
1252
1252
|
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1253
1253
|
|
|
@@ -1271,7 +1271,7 @@ A function that accepts up to four arguments. The reduceRight method calls the c
|
|
|
1271
1271
|
|
|
1272
1272
|
> **reduceRight**(`callbackfn`, `initialValue`): `T`
|
|
1273
1273
|
|
|
1274
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1274
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1502
|
|
1275
1275
|
|
|
1276
1276
|
##### Parameters
|
|
1277
1277
|
|
|
@@ -1295,7 +1295,7 @@ Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/li
|
|
|
1295
1295
|
|
|
1296
1296
|
> **reduceRight**\<`U`\>(`callbackfn`, `initialValue`): `U`
|
|
1297
1297
|
|
|
1298
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1298
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1508
|
|
1299
1299
|
|
|
1300
1300
|
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1301
1301
|
|
|
@@ -1333,7 +1333,7 @@ If initialValue is specified, it is used as the initial value to start the accum
|
|
|
1333
1333
|
|
|
1334
1334
|
> **removeAt**(`index`): `T` \| `undefined`
|
|
1335
1335
|
|
|
1336
|
-
Defined in: [src/deque.ts:226](https://github.com/isdk/util.js/blob/
|
|
1336
|
+
Defined in: [src/deque.ts:226](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L226)
|
|
1337
1337
|
|
|
1338
1338
|
Removes the element at the specified index.
|
|
1339
1339
|
|
|
@@ -1357,7 +1357,7 @@ The removed element
|
|
|
1357
1357
|
|
|
1358
1358
|
> **reverse**(): `T`[]
|
|
1359
1359
|
|
|
1360
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1360
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1369
|
|
1361
1361
|
|
|
1362
1362
|
Reverses the elements in an array in place.
|
|
1363
1363
|
This method mutates the array and returns a reference to the same array.
|
|
@@ -1376,7 +1376,7 @@ This method mutates the array and returns a reference to the same array.
|
|
|
1376
1376
|
|
|
1377
1377
|
> **shift**(`skipNull?`): `T` \| `undefined`
|
|
1378
1378
|
|
|
1379
|
-
Defined in: [src/deque.ts:141](https://github.com/isdk/util.js/blob/
|
|
1379
|
+
Defined in: [src/deque.ts:141](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L141)
|
|
1380
1380
|
|
|
1381
1381
|
Removes and returns the element at the front of the deque.
|
|
1382
1382
|
|
|
@@ -1426,7 +1426,7 @@ mixedDeque.shift(false); // null (explicitly not skipping)
|
|
|
1426
1426
|
|
|
1427
1427
|
> **slice**(`start?`, `end?`): `T`[]
|
|
1428
1428
|
|
|
1429
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1429
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1384
|
|
1430
1430
|
|
|
1431
1431
|
Returns a copy of a section of an array.
|
|
1432
1432
|
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
@@ -1462,7 +1462,7 @@ If end is undefined, then the slice extends to the end of the array.
|
|
|
1462
1462
|
|
|
1463
1463
|
> **some**(`predicate`, `thisArg?`): `boolean`
|
|
1464
1464
|
|
|
1465
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1465
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1458
|
|
1466
1466
|
|
|
1467
1467
|
Determines whether the specified callback function returns true for any element of an array.
|
|
1468
1468
|
|
|
@@ -1497,7 +1497,7 @@ If thisArg is omitted, undefined is used as the this value.
|
|
|
1497
1497
|
|
|
1498
1498
|
> **sort**(`compareFn?`): `this`
|
|
1499
1499
|
|
|
1500
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1500
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1395
|
|
1501
1501
|
|
|
1502
1502
|
Sorts an array in place.
|
|
1503
1503
|
This method mutates the array and returns a reference to the same array.
|
|
@@ -1531,7 +1531,7 @@ value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code u
|
|
|
1531
1531
|
|
|
1532
1532
|
> **splice**(`start`, `deleteCount?`): `T`[]
|
|
1533
1533
|
|
|
1534
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1534
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1404
|
|
1535
1535
|
|
|
1536
1536
|
Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1537
1537
|
|
|
@@ -1547,7 +1547,9 @@ The zero-based location in the array from which to start removing elements.
|
|
|
1547
1547
|
|
|
1548
1548
|
`number`
|
|
1549
1549
|
|
|
1550
|
-
The number of elements to remove.
|
|
1550
|
+
The number of elements to remove. Omitting this argument will remove all elements from the start
|
|
1551
|
+
paramater location to end of the array. If value of this argument is either a negative number, zero, undefined, or a type
|
|
1552
|
+
that cannot be converted to an integer, the function will evaluate the argument as zero and not remove any elements.
|
|
1551
1553
|
|
|
1552
1554
|
##### Returns
|
|
1553
1555
|
|
|
@@ -1563,7 +1565,7 @@ An array containing the elements that were deleted.
|
|
|
1563
1565
|
|
|
1564
1566
|
> **splice**(`start`, `deleteCount`, ...`items`): `T`[]
|
|
1565
1567
|
|
|
1566
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1568
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1414
|
|
1567
1569
|
|
|
1568
1570
|
Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1569
1571
|
|
|
@@ -1579,7 +1581,9 @@ The zero-based location in the array from which to start removing elements.
|
|
|
1579
1581
|
|
|
1580
1582
|
`number`
|
|
1581
1583
|
|
|
1582
|
-
The number of elements to remove.
|
|
1584
|
+
The number of elements to remove. If value of this argument is either a negative number, zero,
|
|
1585
|
+
undefined, or a type that cannot be converted to an integer, the function will evaluate the argument as zero and
|
|
1586
|
+
not remove any elements.
|
|
1583
1587
|
|
|
1584
1588
|
###### items
|
|
1585
1589
|
|
|
@@ -1605,7 +1609,7 @@ An array containing the elements that were deleted.
|
|
|
1605
1609
|
|
|
1606
1610
|
> **toLocaleString**(): `string`
|
|
1607
1611
|
|
|
1608
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1612
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1337
|
|
1609
1613
|
|
|
1610
1614
|
Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.
|
|
1611
1615
|
|
|
@@ -1621,13 +1625,13 @@ Returns a string representation of an array. The elements are converted to strin
|
|
|
1621
1625
|
|
|
1622
1626
|
> **toLocaleString**(`locales`, `options?`): `string`
|
|
1623
1627
|
|
|
1624
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1628
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:64
|
|
1625
1629
|
|
|
1626
1630
|
##### Parameters
|
|
1627
1631
|
|
|
1628
1632
|
###### locales
|
|
1629
1633
|
|
|
1630
|
-
`string`
|
|
1634
|
+
`string` \| `string`[]
|
|
1631
1635
|
|
|
1632
1636
|
###### options?
|
|
1633
1637
|
|
|
@@ -1647,7 +1651,7 @@ Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/li
|
|
|
1647
1651
|
|
|
1648
1652
|
> **toString**(): `string`
|
|
1649
1653
|
|
|
1650
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1654
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1333
|
|
1651
1655
|
|
|
1652
1656
|
Returns a string representation of an array.
|
|
1653
1657
|
|
|
@@ -1665,7 +1669,7 @@ Returns a string representation of an array.
|
|
|
1665
1669
|
|
|
1666
1670
|
> **unshift**(`item`): `number`
|
|
1667
1671
|
|
|
1668
|
-
Defined in: [src/deque.ts:65](https://github.com/isdk/util.js/blob/
|
|
1672
|
+
Defined in: [src/deque.ts:65](https://github.com/isdk/util.js/blob/c98bd1bf94d1b1dc8d01c6b9a6fc50b4beec5c62/src/deque.ts#L65)
|
|
1669
1673
|
|
|
1670
1674
|
Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1671
1675
|
|
|
@@ -1689,7 +1693,7 @@ Inserts new elements at the start of an array, and returns the new length of the
|
|
|
1689
1693
|
|
|
1690
1694
|
> **values**(): `ArrayIterator`\<`T`\>
|
|
1691
1695
|
|
|
1692
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1696
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.iterable.d.ts:93
|
|
1693
1697
|
|
|
1694
1698
|
Returns an iterable of values in the array
|
|
1695
1699
|
|
|
@@ -1709,7 +1713,7 @@ Returns an iterable of values in the array
|
|
|
1709
1713
|
|
|
1710
1714
|
> `static` **from**\<`T`\>(`arrayLike`): `T`[]
|
|
1711
1715
|
|
|
1712
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1716
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:72
|
|
1713
1717
|
|
|
1714
1718
|
Creates an array from an array-like object.
|
|
1715
1719
|
|
|
@@ -1739,7 +1743,7 @@ An array-like object to convert to an array.
|
|
|
1739
1743
|
|
|
1740
1744
|
> `static` **from**\<`T`, `U`\>(`arrayLike`, `mapfn`, `thisArg?`): `U`[]
|
|
1741
1745
|
|
|
1742
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1746
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:80
|
|
1743
1747
|
|
|
1744
1748
|
Creates an array from an iterable object.
|
|
1745
1749
|
|
|
@@ -1785,7 +1789,7 @@ Value of 'this' used to invoke the mapfn.
|
|
|
1785
1789
|
|
|
1786
1790
|
> `static` **from**\<`T`\>(`iterable`): `T`[]
|
|
1787
1791
|
|
|
1788
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1792
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.iterable.d.ts:101
|
|
1789
1793
|
|
|
1790
1794
|
Creates an array from an iterable object.
|
|
1791
1795
|
|
|
@@ -1799,9 +1803,9 @@ Creates an array from an iterable object.
|
|
|
1799
1803
|
|
|
1800
1804
|
###### iterable
|
|
1801
1805
|
|
|
1802
|
-
|
|
1806
|
+
`Iterable`\<`T`, `any`, `any`\> \| `ArrayLike`\<`T`\>
|
|
1803
1807
|
|
|
1804
|
-
|
|
1808
|
+
An iterable object to convert to an array.
|
|
1805
1809
|
|
|
1806
1810
|
##### Returns
|
|
1807
1811
|
|
|
@@ -1815,7 +1819,7 @@ An iterable object to convert to an array.
|
|
|
1815
1819
|
|
|
1816
1820
|
> `static` **from**\<`T`, `U`\>(`iterable`, `mapfn`, `thisArg?`): `U`[]
|
|
1817
1821
|
|
|
1818
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1822
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.iterable.d.ts:109
|
|
1819
1823
|
|
|
1820
1824
|
Creates an array from an iterable object.
|
|
1821
1825
|
|
|
@@ -1833,9 +1837,9 @@ Creates an array from an iterable object.
|
|
|
1833
1837
|
|
|
1834
1838
|
###### iterable
|
|
1835
1839
|
|
|
1836
|
-
|
|
1840
|
+
`Iterable`\<`T`, `any`, `any`\> \| `ArrayLike`\<`T`\>
|
|
1837
1841
|
|
|
1838
|
-
|
|
1842
|
+
An iterable object to convert to an array.
|
|
1839
1843
|
|
|
1840
1844
|
###### mapfn
|
|
1841
1845
|
|
|
@@ -1863,7 +1867,7 @@ Value of 'this' used to invoke the mapfn.
|
|
|
1863
1867
|
|
|
1864
1868
|
> `static` **isArray**(`arg`): `arg is any[]`
|
|
1865
1869
|
|
|
1866
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1870
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es5.d.ts:1520
|
|
1867
1871
|
|
|
1868
1872
|
#### Parameters
|
|
1869
1873
|
|
|
@@ -1885,7 +1889,7 @@ Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/li
|
|
|
1885
1889
|
|
|
1886
1890
|
> `static` **of**\<`T`\>(...`items`): `T`[]
|
|
1887
1891
|
|
|
1888
|
-
Defined in: node\_modules/.pnpm/typescript@5.
|
|
1892
|
+
Defined in: node\_modules/.pnpm/typescript@5.9.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:86
|
|
1889
1893
|
|
|
1890
1894
|
Returns a new array from a set of elements.
|
|
1891
1895
|
|