@daysnap/utils 0.0.72 → 0.0.74

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/docs/modules.md CHANGED
@@ -4,29 +4,44 @@
4
4
 
5
5
  ## Table of contents
6
6
 
7
+ ### Interfaces
8
+
9
+ - [StorageManager](interfaces/StorageManager.md)
10
+ - [Trap](interfaces/Trap.md)
11
+
12
+ ### Variables
13
+
14
+ - [trap](modules.md#trap)
15
+
7
16
  ### Functions
8
17
 
18
+ - [ato](modules.md#ato)
9
19
  - [base64ToBlob](modules.md#base64toblob)
10
20
  - [blobToBase64](modules.md#blobtobase64)
11
21
  - [cached](modules.md#cached)
12
22
  - [camelCase](modules.md#camelcase)
13
23
  - [canvasToBlob](modules.md#canvastoblob)
14
24
  - [capitalize](modules.md#capitalize)
25
+ - [clamp](modules.md#clamp)
15
26
  - [clone](modules.md#clone)
16
27
  - [cloneSimple](modules.md#clonesimple)
17
28
  - [colorGenByHash](modules.md#colorgenbyhash)
18
29
  - [compareVersion](modules.md#compareversion)
19
30
  - [compressImage](modules.md#compressimage)
31
+ - [createWithLoading](modules.md#createwithloading)
20
32
  - [debounce](modules.md#debounce)
21
33
  - [downloadFile](modules.md#downloadfile)
22
34
  - [each](modules.md#each)
23
35
  - [exitFullscreen](modules.md#exitfullscreen)
36
+ - [factory](modules.md#factory)
24
37
  - [filterBankCardNo](modules.md#filterbankcardno)
25
38
  - [filterCRLF](modules.md#filtercrlf)
26
39
  - [filterEmoji](modules.md#filteremoji)
40
+ - [filterEmptyValue](modules.md#filteremptyvalue)
27
41
  - [filterIdCard](modules.md#filteridcard)
28
42
  - [filterName](modules.md#filtername)
29
43
  - [filterPhone](modules.md#filterphone)
44
+ - [filterString](modules.md#filterstring)
30
45
  - [formatAmount](modules.md#formatamount)
31
46
  - [formatDate](modules.md#formatdate)
32
47
  - [formatDateStr](modules.md#formatdatestr)
@@ -53,6 +68,7 @@
53
68
  - [isDate](modules.md#isdate)
54
69
  - [isEmail](modules.md#isemail)
55
70
  - [isEmpty](modules.md#isempty)
71
+ - [isEmptyArray](modules.md#isemptyarray)
56
72
  - [isEmptyObject](modules.md#isemptyobject)
57
73
  - [isError](modules.md#iserror)
58
74
  - [isFunction](modules.md#isfunction)
@@ -105,8 +121,81 @@
105
121
  - [toDBC](modules.md#todbc)
106
122
  - [typeOf](modules.md#typeof)
107
123
 
124
+ ## Variables
125
+
126
+ ### trap
127
+
128
+ • `Const` **trap**: [`Trap`](interfaces/Trap.md)
129
+
130
+ #### Defined in
131
+
132
+ [trap.ts:15](https://github.com/daysnap/utils/blob/f85d32c/src/trap.ts#L15)
133
+
108
134
  ## Functions
109
135
 
136
+ ### ato
137
+
138
+ ▸ **ato**<`T`, `K`\>(`options`, `labelKey`): `Record`<`T`[`K`], `T`\>
139
+
140
+ 数组转换称对象
141
+ const options = [
142
+ {label: '男', value: '1'}
143
+ {label: '女', value: '2'}
144
+ ]
145
+ const res = ato(options, 'value')
146
+ res = { '1': {label: '男', value: '1'}, '2': {label: '女', value: '2'} }
147
+ const res = ato(options, 'value', 'label')
148
+ res = { '1': '男', '2': '女' }
149
+
150
+ #### Type parameters
151
+
152
+ | Name | Type |
153
+ | :------ | :------ |
154
+ | `T` | extends `Record`<`string`, `any`\> |
155
+ | `K` | extends `string` \| `number` \| `symbol` |
156
+
157
+ #### Parameters
158
+
159
+ | Name | Type |
160
+ | :------ | :------ |
161
+ | `options` | `T`[] |
162
+ | `labelKey` | `K` |
163
+
164
+ #### Returns
165
+
166
+ `Record`<`T`[`K`], `T`\>
167
+
168
+ #### Defined in
169
+
170
+ [ato.ts:12](https://github.com/daysnap/utils/blob/f85d32c/src/ato.ts#L12)
171
+
172
+ ▸ **ato**<`T`, `K`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `any`\>
173
+
174
+ #### Type parameters
175
+
176
+ | Name | Type |
177
+ | :------ | :------ |
178
+ | `T` | extends `Record`<`string`, `any`\> |
179
+ | `K` | extends `string` \| `number` \| `symbol` |
180
+
181
+ #### Parameters
182
+
183
+ | Name | Type |
184
+ | :------ | :------ |
185
+ | `options` | `T`[] |
186
+ | `labelKey` | `K` |
187
+ | `valueKey` | `K` |
188
+
189
+ #### Returns
190
+
191
+ `Record`<`T`[`K`], `any`\>
192
+
193
+ #### Defined in
194
+
195
+ [ato.ts:16](https://github.com/daysnap/utils/blob/f85d32c/src/ato.ts#L16)
196
+
197
+ ___
198
+
110
199
  ### base64ToBlob
111
200
 
112
201
  ▸ **base64ToBlob**(`base64`, `contentType?`): `Blob`
@@ -126,7 +215,7 @@ base64 转 blob
126
215
 
127
216
  #### Defined in
128
217
 
129
- [base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/base64ToBlob.ts#L6)
218
+ [base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/base64ToBlob.ts#L6)
130
219
 
131
220
  ___
132
221
 
@@ -148,7 +237,7 @@ blob 转 base64
148
237
 
149
238
  #### Defined in
150
239
 
151
- [blobToBase64.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/blobToBase64.ts#L4)
240
+ [blobToBase64.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/blobToBase64.ts#L4)
152
241
 
153
242
  ___
154
243
 
@@ -189,7 +278,7 @@ ___
189
278
 
190
279
  #### Defined in
191
280
 
192
- [cached.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/cached.ts#L5)
281
+ [cached.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/cached.ts#L5)
193
282
 
194
283
  ___
195
284
 
@@ -212,7 +301,7 @@ camelCase('hello-world') => helloWorld
212
301
 
213
302
  #### Defined in
214
303
 
215
- [camelCase.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/camelCase.ts#L5)
304
+ [camelCase.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/camelCase.ts#L5)
216
305
 
217
306
  ___
218
307
 
@@ -236,7 +325,7 @@ canvas 转 blob 文件
236
325
 
237
326
  #### Defined in
238
327
 
239
- [canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/canvasToBlob.ts#L4)
328
+ [canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/canvasToBlob.ts#L4)
240
329
 
241
330
  ___
242
331
 
@@ -259,7 +348,31 @@ capitalize('hello world') => Hello world
259
348
 
260
349
  #### Defined in
261
350
 
262
- [capitalize.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/capitalize.ts#L5)
351
+ [capitalize.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/capitalize.ts#L5)
352
+
353
+ ___
354
+
355
+ ### clamp
356
+
357
+ ▸ **clamp**(`min`, `val`, `max`): `number`
358
+
359
+ 首选值超出最小值,返回最小值;首选值超出最大值,返回最大值;其余返回首选值
360
+
361
+ #### Parameters
362
+
363
+ | Name | Type | Description |
364
+ | :------ | :------ | :------ |
365
+ | `min` | `number` | 最小值 |
366
+ | `val` | `number` | - |
367
+ | `max` | `number` | 最大值 |
368
+
369
+ #### Returns
370
+
371
+ `number`
372
+
373
+ #### Defined in
374
+
375
+ [clamp.ts:7](https://github.com/daysnap/utils/blob/f85d32c/src/clamp.ts#L7)
263
376
 
264
377
  ___
265
378
 
@@ -287,7 +400,7 @@ ___
287
400
 
288
401
  #### Defined in
289
402
 
290
- [clone.ts:8](https://github.com/daysnap/utils/blob/71e90a2/src/clone.ts#L8)
403
+ [clone.ts:8](https://github.com/daysnap/utils/blob/f85d32c/src/clone.ts#L8)
291
404
 
292
405
  ___
293
406
 
@@ -315,7 +428,7 @@ ___
315
428
 
316
429
  #### Defined in
317
430
 
318
- [cloneSimple.ts:7](https://github.com/daysnap/utils/blob/71e90a2/src/cloneSimple.ts#L7)
431
+ [cloneSimple.ts:7](https://github.com/daysnap/utils/blob/f85d32c/src/cloneSimple.ts#L7)
319
432
 
320
433
  ___
321
434
 
@@ -337,7 +450,7 @@ ___
337
450
 
338
451
  #### Defined in
339
452
 
340
- [createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/createHexColorByHash.ts#L4)
453
+ [createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/createHexColorByHash.ts#L4)
341
454
 
342
455
  ___
343
456
 
@@ -363,7 +476,7 @@ ___
363
476
 
364
477
  #### Defined in
365
478
 
366
- [compareVersion.ts:9](https://github.com/daysnap/utils/blob/71e90a2/src/compareVersion.ts#L9)
479
+ [compareVersion.ts:9](https://github.com/daysnap/utils/blob/f85d32c/src/compareVersion.ts#L9)
367
480
 
368
481
  ___
369
482
 
@@ -385,7 +498,70 @@ ___
385
498
 
386
499
  #### Defined in
387
500
 
388
- [compressImage.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/compressImage.ts#L6)
501
+ [compressImage.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/compressImage.ts#L6)
502
+
503
+ ___
504
+
505
+ ### createWithLoading
506
+
507
+ ▸ **createWithLoading**<`O`\>(`showLoading`, `defaultOptions?`): <T\>(`fn`: `T`, `options`: `O`) => (...`params`: [...Parameters<T\>[], O?]) => `Promise`<`Awaited`<`ReturnType`<`T`\>\>\>
508
+
509
+ loading 生成器
510
+ const withLoading = createWithLoading(() => showLoading())
511
+ const fn = withLoading(async () => { // ... })
512
+ fn() 执行的时候就会执行showLoading
513
+
514
+ #### Type parameters
515
+
516
+ | Name | Type |
517
+ | :------ | :------ |
518
+ | `O` | `any` |
519
+
520
+ #### Parameters
521
+
522
+ | Name | Type |
523
+ | :------ | :------ |
524
+ | `showLoading` | (`options`: `O`) => `Loose`<{ `close`: () => `any` }\> |
525
+ | `defaultOptions?` | `O` |
526
+
527
+ #### Returns
528
+
529
+ `fn`
530
+
531
+ ▸ <`T`\>(`fn`, `options?`): (...`params`: [...Parameters<T\>[], O?]) => `Promise`<`Awaited`<`ReturnType`<`T`\>\>\>
532
+
533
+ ##### Type parameters
534
+
535
+ | Name | Type |
536
+ | :------ | :------ |
537
+ | `T` | extends (...`args`: `any`[]) => `Promise`<`any`\> |
538
+
539
+ ##### Parameters
540
+
541
+ | Name | Type |
542
+ | :------ | :------ |
543
+ | `fn` | `T` |
544
+ | `options` | `O` |
545
+
546
+ ##### Returns
547
+
548
+ `fn`
549
+
550
+ ▸ (`...params`): `Promise`<`Awaited`<`ReturnType`<`T`\>\>\>
551
+
552
+ ##### Parameters
553
+
554
+ | Name | Type |
555
+ | :------ | :------ |
556
+ | `...params` | [...Parameters<T\>[], O?] |
557
+
558
+ ##### Returns
559
+
560
+ `Promise`<`Awaited`<`ReturnType`<`T`\>\>\>
561
+
562
+ #### Defined in
563
+
564
+ [createWithLoading.ts:9](https://github.com/daysnap/utils/blob/f85d32c/src/createWithLoading.ts#L9)
389
565
 
390
566
  ___
391
567
 
@@ -428,7 +604,7 @@ ___
428
604
 
429
605
  #### Defined in
430
606
 
431
- [debounce.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/debounce.ts#L5)
607
+ [debounce.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/debounce.ts#L5)
432
608
 
433
609
  ___
434
610
 
@@ -452,7 +628,7 @@ ___
452
628
 
453
629
  #### Defined in
454
630
 
455
- [downloadFile.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/downloadFile.ts#L4)
631
+ [downloadFile.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/downloadFile.ts#L4)
456
632
 
457
633
  ___
458
634
 
@@ -481,7 +657,7 @@ ___
481
657
 
482
658
  #### Defined in
483
659
 
484
- [each.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/each.ts#L4)
660
+ [each.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/each.ts#L4)
485
661
 
486
662
  ▸ **each**<`T`\>(`data`, `callback`): `void`
487
663
 
@@ -504,7 +680,7 @@ ___
504
680
 
505
681
  #### Defined in
506
682
 
507
- [each.ts:8](https://github.com/daysnap/utils/blob/71e90a2/src/each.ts#L8)
683
+ [each.ts:8](https://github.com/daysnap/utils/blob/f85d32c/src/each.ts#L8)
508
684
 
509
685
  ___
510
686
 
@@ -522,7 +698,36 @@ ___
522
698
 
523
699
  #### Defined in
524
700
 
525
- [exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/exitFullscreen.ts#L6)
701
+ [exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/exitFullscreen.ts#L6)
702
+
703
+ ___
704
+
705
+ ### factory
706
+
707
+ ▸ **factory**(`type`): `Object`
708
+
709
+ #### Parameters
710
+
711
+ | Name | Type |
712
+ | :------ | :------ |
713
+ | `type` | ``"sessionStorage"`` \| ``"localStorage"`` |
714
+
715
+ #### Returns
716
+
717
+ `Object`
718
+
719
+ | Name | Type |
720
+ | :------ | :------ |
721
+ | `clear` | () => `void` |
722
+ | `generate` | <T\>(`key`: `string`) => { `getItem`: (`defaultVal?`: `Partial`<`T`\>) => `T` ; `removeItem`: () => `void` ; `setItem`: (`val`: `T`) => `T` ; `updateItem`: (`val`: `Partial`<`T`\>) => `T` } |
723
+ | `getItem` | <T\>(`key`: `string`, `defaultVal`: ``null`` \| `Partial`<`T`\>) => `T` |
724
+ | `removeItem` | (`key`: `string`) => `void` |
725
+ | `setItem` | <T\>(`key`: `string`, `val`: `T`) => `T` |
726
+ | `updateItem` | <T\>(`key`: `string`, `val`: `Partial`<`T`\>) => `T` |
727
+
728
+ #### Defined in
729
+
730
+ [storage/factory.ts:8](https://github.com/daysnap/utils/blob/f85d32c/src/storage/factory.ts#L8)
526
731
 
527
732
  ___
528
733
 
@@ -544,7 +749,7 @@ ___
544
749
 
545
750
  #### Defined in
546
751
 
547
- [filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/filterBankCardNo.ts#L4)
752
+ [filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/filterBankCardNo.ts#L4)
548
753
 
549
754
  ___
550
755
 
@@ -566,7 +771,7 @@ ___
566
771
 
567
772
  #### Defined in
568
773
 
569
- [filterCRLF.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/filterCRLF.ts#L4)
774
+ [filterCRLF.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/filterCRLF.ts#L4)
570
775
 
571
776
  ___
572
777
 
@@ -588,7 +793,30 @@ ___
588
793
 
589
794
  #### Defined in
590
795
 
591
- [filterEmoji.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/filterEmoji.ts#L4)
796
+ [filterEmoji.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/filterEmoji.ts#L4)
797
+
798
+ ___
799
+
800
+ ### filterEmptyValue
801
+
802
+ ▸ **filterEmptyValue**(`obj`, `expand?`): `Record`<`string`, `any`\>
803
+
804
+ 过滤对象的 undefined null '' 属性,返回一个新对象
805
+
806
+ #### Parameters
807
+
808
+ | Name | Type | Default value | Description |
809
+ | :------ | :------ | :------ | :------ |
810
+ | `obj` | `Record`<`string`, `any`\> | `undefined` | 需要过滤的对象 |
811
+ | `expand` | `boolean` \| (`key`: `string`, `value`: `any`) => `boolean` | `false` | 如果是传的是布尔类型 true, 则还会过滤空数组、空对象的情况 |
812
+
813
+ #### Returns
814
+
815
+ `Record`<`string`, `any`\>
816
+
817
+ #### Defined in
818
+
819
+ [filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/f85d32c/src/filterEmptyValue.ts#L12)
592
820
 
593
821
  ___
594
822
 
@@ -611,7 +839,7 @@ ___
611
839
 
612
840
  #### Defined in
613
841
 
614
- [filterIdCard.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/filterIdCard.ts#L5)
842
+ [filterIdCard.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/filterIdCard.ts#L5)
615
843
 
616
844
  ___
617
845
 
@@ -633,7 +861,7 @@ ___
633
861
 
634
862
  #### Defined in
635
863
 
636
- [filterName.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/filterName.ts#L4)
864
+ [filterName.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/filterName.ts#L4)
637
865
 
638
866
  ___
639
867
 
@@ -658,7 +886,34 @@ filterPhone('13177778888', ' ') => 131 **** 8888
658
886
 
659
887
  #### Defined in
660
888
 
661
- [filterPhone.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/filterPhone.ts#L6)
889
+ [filterPhone.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/filterPhone.ts#L6)
890
+
891
+ ___
892
+
893
+ ### filterString
894
+
895
+ ▸ **filterString**(`val`, `sep?`, `start?`, `end?`): `string`
896
+
897
+ 过滤字符串
898
+ const str = filterString('13188888888', '*', 3, 7)
899
+ str = '131****8888'
900
+
901
+ #### Parameters
902
+
903
+ | Name | Type | Default value |
904
+ | :------ | :------ | :------ |
905
+ | `val` | `string` | `undefined` |
906
+ | `sep` | `string` | `'*'` |
907
+ | `start` | `number` | `0` |
908
+ | `end?` | `number` | `undefined` |
909
+
910
+ #### Returns
911
+
912
+ `string`
913
+
914
+ #### Defined in
915
+
916
+ [filterString.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/filterString.ts#L6)
662
917
 
663
918
  ___
664
919
 
@@ -681,7 +936,7 @@ ___
681
936
 
682
937
  #### Defined in
683
938
 
684
- [formatAmount.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/formatAmount.ts#L4)
939
+ [formatAmount.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/formatAmount.ts#L4)
685
940
 
686
941
  ___
687
942
 
@@ -705,7 +960,7 @@ ___
705
960
 
706
961
  #### Defined in
707
962
 
708
- [formatDate.ts:8](https://github.com/daysnap/utils/blob/71e90a2/src/formatDate.ts#L8)
963
+ [formatDate.ts:8](https://github.com/daysnap/utils/blob/f85d32c/src/formatDate.ts#L8)
709
964
 
710
965
  ___
711
966
 
@@ -728,7 +983,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
728
983
 
729
984
  #### Defined in
730
985
 
731
- [formatDateStr.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/formatDateStr.ts#L5)
986
+ [formatDateStr.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/formatDateStr.ts#L5)
732
987
 
733
988
  ___
734
989
 
@@ -753,7 +1008,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
753
1008
 
754
1009
  #### Defined in
755
1010
 
756
- [formatMessage.ts:11](https://github.com/daysnap/utils/blob/71e90a2/src/formatMessage.ts#L11)
1011
+ [formatMessage.ts:11](https://github.com/daysnap/utils/blob/f85d32c/src/formatMessage.ts#L11)
757
1012
 
758
1013
  ___
759
1014
 
@@ -785,7 +1040,7 @@ rest = { xxx: 1 }
785
1040
 
786
1041
  #### Defined in
787
1042
 
788
- [formatPathParams.ts:8](https://github.com/daysnap/utils/blob/71e90a2/src/formatPathParams.ts#L8)
1043
+ [formatPathParams.ts:8](https://github.com/daysnap/utils/blob/f85d32c/src/formatPathParams.ts#L8)
789
1044
 
790
1045
  ___
791
1046
 
@@ -807,7 +1062,7 @@ ___
807
1062
 
808
1063
  #### Defined in
809
1064
 
810
- [getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/getBlobByUrl.ts#L4)
1065
+ [getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/getBlobByUrl.ts#L4)
811
1066
 
812
1067
  ___
813
1068
 
@@ -830,7 +1085,7 @@ ___
830
1085
 
831
1086
  #### Defined in
832
1087
 
833
- [storage/index.ts:7](https://github.com/daysnap/utils/blob/71e90a2/src/storage/index.ts#L7)
1088
+ [storage/index.ts:9](https://github.com/daysnap/utils/blob/f85d32c/src/storage/index.ts#L9)
834
1089
 
835
1090
  ___
836
1091
 
@@ -852,7 +1107,7 @@ ___
852
1107
 
853
1108
  #### Defined in
854
1109
 
855
- [getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/getDayMillisecond.ts#L4)
1110
+ [getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/getDayMillisecond.ts#L4)
856
1111
 
857
1112
  ___
858
1113
 
@@ -874,7 +1129,7 @@ ___
874
1129
 
875
1130
  #### Defined in
876
1131
 
877
- [getImageInfo.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/getImageInfo.ts#L4)
1132
+ [getImageInfo.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/getImageInfo.ts#L4)
878
1133
 
879
1134
  ___
880
1135
 
@@ -897,7 +1152,7 @@ ___
897
1152
 
898
1153
  #### Defined in
899
1154
 
900
- [storage/index.ts:7](https://github.com/daysnap/utils/blob/71e90a2/src/storage/index.ts#L7)
1155
+ [storage/index.ts:9](https://github.com/daysnap/utils/blob/f85d32c/src/storage/index.ts#L9)
901
1156
 
902
1157
  ___
903
1158
 
@@ -920,7 +1175,7 @@ ___
920
1175
 
921
1176
  #### Defined in
922
1177
 
923
- [getRandom.ts:7](https://github.com/daysnap/utils/blob/71e90a2/src/getRandom.ts#L7)
1178
+ [getRandom.ts:7](https://github.com/daysnap/utils/blob/f85d32c/src/getRandom.ts#L7)
924
1179
 
925
1180
  ___
926
1181
 
@@ -936,7 +1191,7 @@ ___
936
1191
 
937
1192
  #### Defined in
938
1193
 
939
- [getRandomColor.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/getRandomColor.ts#L4)
1194
+ [getRandomColor.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/getRandomColor.ts#L4)
940
1195
 
941
1196
  ___
942
1197
 
@@ -958,7 +1213,7 @@ ___
958
1213
 
959
1214
  #### Defined in
960
1215
 
961
- [getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/71e90a2/src/getRandomNumber.ts#L7)
1216
+ [getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/f85d32c/src/getRandomNumber.ts#L7)
962
1217
 
963
1218
  ___
964
1219
 
@@ -980,7 +1235,7 @@ ___
980
1235
 
981
1236
  #### Defined in
982
1237
 
983
- [getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/getVideoInfo.ts#L4)
1238
+ [getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/getVideoInfo.ts#L4)
984
1239
 
985
1240
  ___
986
1241
 
@@ -996,7 +1251,7 @@ ___
996
1251
 
997
1252
  #### Defined in
998
1253
 
999
- [inBrowser.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/inBrowser.ts#L4)
1254
+ [inBrowser.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/inBrowser.ts#L4)
1000
1255
 
1001
1256
  ___
1002
1257
 
@@ -1018,7 +1273,7 @@ ___
1018
1273
 
1019
1274
  #### Defined in
1020
1275
 
1021
- [insertLink.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/insertLink.ts#L4)
1276
+ [insertLink.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/insertLink.ts#L4)
1022
1277
 
1023
1278
  ▸ **insertLink**(`href`, `callback`): `void`
1024
1279
 
@@ -1035,7 +1290,7 @@ ___
1035
1290
 
1036
1291
  #### Defined in
1037
1292
 
1038
- [insertLink.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/insertLink.ts#L5)
1293
+ [insertLink.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/insertLink.ts#L5)
1039
1294
 
1040
1295
  ___
1041
1296
 
@@ -1057,7 +1312,7 @@ ___
1057
1312
 
1058
1313
  #### Defined in
1059
1314
 
1060
- [insertScript.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/insertScript.ts#L4)
1315
+ [insertScript.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/insertScript.ts#L4)
1061
1316
 
1062
1317
  ▸ **insertScript**(`src`, `callback`): `void`
1063
1318
 
@@ -1074,7 +1329,7 @@ ___
1074
1329
 
1075
1330
  #### Defined in
1076
1331
 
1077
- [insertScript.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/insertScript.ts#L5)
1332
+ [insertScript.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/insertScript.ts#L5)
1078
1333
 
1079
1334
  ___
1080
1335
 
@@ -1096,7 +1351,7 @@ ___
1096
1351
 
1097
1352
  #### Defined in
1098
1353
 
1099
- [insertStyle.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/insertStyle.ts#L4)
1354
+ [insertStyle.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/insertStyle.ts#L4)
1100
1355
 
1101
1356
  ___
1102
1357
 
@@ -1125,7 +1380,7 @@ isAmount('1.123') => false
1125
1380
 
1126
1381
  #### Defined in
1127
1382
 
1128
- [isAmount.ts:11](https://github.com/daysnap/utils/blob/71e90a2/src/isAmount.ts#L11)
1383
+ [isAmount.ts:11](https://github.com/daysnap/utils/blob/f85d32c/src/isAmount.ts#L11)
1129
1384
 
1130
1385
  ___
1131
1386
 
@@ -1141,7 +1396,7 @@ ___
1141
1396
 
1142
1397
  #### Defined in
1143
1398
 
1144
- [isAndroid.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isAndroid.ts#L4)
1399
+ [isAndroid.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isAndroid.ts#L4)
1145
1400
 
1146
1401
  ___
1147
1402
 
@@ -1165,7 +1420,7 @@ val is any[]
1165
1420
 
1166
1421
  #### Defined in
1167
1422
 
1168
- [isArray.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/isArray.ts#L6)
1423
+ [isArray.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/isArray.ts#L6)
1169
1424
 
1170
1425
  ___
1171
1426
 
@@ -1187,7 +1442,7 @@ val is boolean
1187
1442
 
1188
1443
  #### Defined in
1189
1444
 
1190
- [isBoolean.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/isBoolean.ts#L5)
1445
+ [isBoolean.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/isBoolean.ts#L5)
1191
1446
 
1192
1447
  ___
1193
1448
 
@@ -1209,7 +1464,7 @@ ___
1209
1464
 
1210
1465
  #### Defined in
1211
1466
 
1212
- [isChinese.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isChinese.ts#L4)
1467
+ [isChinese.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isChinese.ts#L4)
1213
1468
 
1214
1469
  ___
1215
1470
 
@@ -1231,7 +1486,7 @@ val is Date
1231
1486
 
1232
1487
  #### Defined in
1233
1488
 
1234
- [isDate.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isDate.ts#L4)
1489
+ [isDate.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isDate.ts#L4)
1235
1490
 
1236
1491
  ___
1237
1492
 
@@ -1253,7 +1508,7 @@ ___
1253
1508
 
1254
1509
  #### Defined in
1255
1510
 
1256
- [isEmail.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isEmail.ts#L4)
1511
+ [isEmail.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isEmail.ts#L4)
1257
1512
 
1258
1513
  ___
1259
1514
 
@@ -1275,7 +1530,29 @@ ___
1275
1530
 
1276
1531
  #### Defined in
1277
1532
 
1278
- [isEmpty.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/isEmpty.ts#L6)
1533
+ [isEmpty.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/isEmpty.ts#L6)
1534
+
1535
+ ___
1536
+
1537
+ ### isEmptyArray
1538
+
1539
+ ▸ **isEmptyArray**(`val`): `boolean`
1540
+
1541
+ 判断是否是空数组
1542
+
1543
+ #### Parameters
1544
+
1545
+ | Name | Type |
1546
+ | :------ | :------ |
1547
+ | `val` | `unknown` |
1548
+
1549
+ #### Returns
1550
+
1551
+ `boolean`
1552
+
1553
+ #### Defined in
1554
+
1555
+ [isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/isEmptyArray.ts#L6)
1279
1556
 
1280
1557
  ___
1281
1558
 
@@ -1297,7 +1574,7 @@ ___
1297
1574
 
1298
1575
  #### Defined in
1299
1576
 
1300
- [isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/isEmptyObject.ts#L5)
1577
+ [isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/isEmptyObject.ts#L5)
1301
1578
 
1302
1579
  ___
1303
1580
 
@@ -1319,7 +1596,7 @@ val is Error
1319
1596
 
1320
1597
  #### Defined in
1321
1598
 
1322
- [isError.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isError.ts#L4)
1599
+ [isError.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isError.ts#L4)
1323
1600
 
1324
1601
  ___
1325
1602
 
@@ -1341,7 +1618,7 @@ val is Function
1341
1618
 
1342
1619
  #### Defined in
1343
1620
 
1344
- [isFunction.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isFunction.ts#L4)
1621
+ [isFunction.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isFunction.ts#L4)
1345
1622
 
1346
1623
  ___
1347
1624
 
@@ -1359,7 +1636,7 @@ ___
1359
1636
 
1360
1637
  #### Defined in
1361
1638
 
1362
- [isIE.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/isIE.ts#L6)
1639
+ [isIE.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/isIE.ts#L6)
1363
1640
 
1364
1641
  ___
1365
1642
 
@@ -1375,7 +1652,7 @@ ___
1375
1652
 
1376
1653
  #### Defined in
1377
1654
 
1378
- [isIOS.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isIOS.ts#L4)
1655
+ [isIOS.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isIOS.ts#L4)
1379
1656
 
1380
1657
  ___
1381
1658
 
@@ -1397,7 +1674,7 @@ ___
1397
1674
 
1398
1675
  #### Defined in
1399
1676
 
1400
- [isIdCard.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isIdCard.ts#L4)
1677
+ [isIdCard.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isIdCard.ts#L4)
1401
1678
 
1402
1679
  ___
1403
1680
 
@@ -1419,7 +1696,7 @@ ___
1419
1696
 
1420
1697
  #### Defined in
1421
1698
 
1422
- [isJSONString.ts:7](https://github.com/daysnap/utils/blob/71e90a2/src/isJSONString.ts#L7)
1699
+ [isJSONString.ts:7](https://github.com/daysnap/utils/blob/f85d32c/src/isJSONString.ts#L7)
1423
1700
 
1424
1701
  ___
1425
1702
 
@@ -1441,7 +1718,7 @@ ___
1441
1718
 
1442
1719
  #### Defined in
1443
1720
 
1444
- [isLan.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/isLan.ts#L5)
1721
+ [isLan.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/isLan.ts#L5)
1445
1722
 
1446
1723
  ___
1447
1724
 
@@ -1463,7 +1740,7 @@ ___
1463
1740
 
1464
1741
  #### Defined in
1465
1742
 
1466
- [isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/isLicenseCode.ts#L5)
1743
+ [isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/isLicenseCode.ts#L5)
1467
1744
 
1468
1745
  ___
1469
1746
 
@@ -1479,7 +1756,7 @@ ___
1479
1756
 
1480
1757
  #### Defined in
1481
1758
 
1482
- [isMobile.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isMobile.ts#L4)
1759
+ [isMobile.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isMobile.ts#L4)
1483
1760
 
1484
1761
  ___
1485
1762
 
@@ -1502,7 +1779,7 @@ ___
1502
1779
 
1503
1780
  #### Defined in
1504
1781
 
1505
- [isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/71e90a2/src/isNativeFunction.ts#L7)
1782
+ [isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/f85d32c/src/isNativeFunction.ts#L7)
1506
1783
 
1507
1784
  ___
1508
1785
 
@@ -1524,7 +1801,7 @@ val is null
1524
1801
 
1525
1802
  #### Defined in
1526
1803
 
1527
- [isNull.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isNull.ts#L4)
1804
+ [isNull.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isNull.ts#L4)
1528
1805
 
1529
1806
  ___
1530
1807
 
@@ -1546,7 +1823,7 @@ val is number
1546
1823
 
1547
1824
  #### Defined in
1548
1825
 
1549
- [isNumber.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/isNumber.ts#L5)
1826
+ [isNumber.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/isNumber.ts#L5)
1550
1827
 
1551
1828
  ___
1552
1829
 
@@ -1568,7 +1845,7 @@ val is Record<string, any\>
1568
1845
 
1569
1846
  #### Defined in
1570
1847
 
1571
- [isObject.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isObject.ts#L4)
1848
+ [isObject.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isObject.ts#L4)
1572
1849
 
1573
1850
  ___
1574
1851
 
@@ -1590,7 +1867,7 @@ ___
1590
1867
 
1591
1868
  #### Defined in
1592
1869
 
1593
- [isPhone.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isPhone.ts#L4)
1870
+ [isPhone.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isPhone.ts#L4)
1594
1871
 
1595
1872
  ___
1596
1873
 
@@ -1618,7 +1895,7 @@ val is Promise<T\>
1618
1895
 
1619
1896
  #### Defined in
1620
1897
 
1621
- [isPromise.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isPromise.ts#L4)
1898
+ [isPromise.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isPromise.ts#L4)
1622
1899
 
1623
1900
  ___
1624
1901
 
@@ -1640,7 +1917,7 @@ val is RegExp
1640
1917
 
1641
1918
  #### Defined in
1642
1919
 
1643
- [isRegExp.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isRegExp.ts#L4)
1920
+ [isRegExp.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isRegExp.ts#L4)
1644
1921
 
1645
1922
  ___
1646
1923
 
@@ -1662,7 +1939,7 @@ val is string
1662
1939
 
1663
1940
  #### Defined in
1664
1941
 
1665
- [isString.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isString.ts#L4)
1942
+ [isString.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isString.ts#L4)
1666
1943
 
1667
1944
  ___
1668
1945
 
@@ -1684,7 +1961,7 @@ ___
1684
1961
 
1685
1962
  #### Defined in
1686
1963
 
1687
- [isURL.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isURL.ts#L4)
1964
+ [isURL.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isURL.ts#L4)
1688
1965
 
1689
1966
  ___
1690
1967
 
@@ -1706,7 +1983,7 @@ val is undefined
1706
1983
 
1707
1984
  #### Defined in
1708
1985
 
1709
- [isUndefined.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isUndefined.ts#L4)
1986
+ [isUndefined.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isUndefined.ts#L4)
1710
1987
 
1711
1988
  ___
1712
1989
 
@@ -1722,7 +1999,7 @@ ___
1722
1999
 
1723
2000
  #### Defined in
1724
2001
 
1725
- [isWeChat.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/isWeChat.ts#L4)
2002
+ [isWeChat.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/isWeChat.ts#L4)
1726
2003
 
1727
2004
  ___
1728
2005
 
@@ -1739,7 +2016,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
1739
2016
 
1740
2017
  #### Defined in
1741
2018
 
1742
- [isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/isWeChatMiniProgram.ts#L5)
2019
+ [isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/isWeChatMiniProgram.ts#L5)
1743
2020
 
1744
2021
  ___
1745
2022
 
@@ -1759,7 +2036,7 @@ ___
1759
2036
 
1760
2037
  #### Defined in
1761
2038
 
1762
- [isWeChat.ts:12](https://github.com/daysnap/utils/blob/71e90a2/src/isWeChat.ts#L12)
2039
+ [isWeChat.ts:12](https://github.com/daysnap/utils/blob/f85d32c/src/isWeChat.ts#L12)
1763
2040
 
1764
2041
  ___
1765
2042
 
@@ -1781,7 +2058,7 @@ val is Window
1781
2058
 
1782
2059
  #### Defined in
1783
2060
 
1784
- [isWindow.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/isWindow.ts#L5)
2061
+ [isWindow.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/isWindow.ts#L5)
1785
2062
 
1786
2063
  ___
1787
2064
 
@@ -1804,7 +2081,7 @@ kebabCase('helloWorld') => hello-world
1804
2081
 
1805
2082
  #### Defined in
1806
2083
 
1807
- [kebabCase.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/kebabCase.ts#L5)
2084
+ [kebabCase.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/kebabCase.ts#L5)
1808
2085
 
1809
2086
  ___
1810
2087
 
@@ -1833,7 +2110,7 @@ list 生成器,快速生成数据
1833
2110
 
1834
2111
  #### Defined in
1835
2112
 
1836
- [listGenerator.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/listGenerator.ts#L5)
2113
+ [listGenerator.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/listGenerator.ts#L5)
1837
2114
 
1838
2115
  ___
1839
2116
 
@@ -1858,7 +2135,7 @@ ___
1858
2135
 
1859
2136
  #### Defined in
1860
2137
 
1861
- [mousewheel.ts:22](https://github.com/daysnap/utils/blob/71e90a2/src/mousewheel.ts#L22)
2138
+ [mousewheel.ts:22](https://github.com/daysnap/utils/blob/f85d32c/src/mousewheel.ts#L22)
1862
2139
 
1863
2140
  ___
1864
2141
 
@@ -1880,7 +2157,7 @@ ___
1880
2157
 
1881
2158
  #### Defined in
1882
2159
 
1883
- [normalizePath.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/normalizePath.ts#L4)
2160
+ [normalizePath.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/normalizePath.ts#L4)
1884
2161
 
1885
2162
  ___
1886
2163
 
@@ -1910,7 +2187,7 @@ ___
1910
2187
 
1911
2188
  #### Defined in
1912
2189
 
1913
- [omit.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/omit.ts#L4)
2190
+ [omit.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/omit.ts#L4)
1914
2191
 
1915
2192
  ___
1916
2193
 
@@ -1934,7 +2211,7 @@ ___
1934
2211
 
1935
2212
  #### Defined in
1936
2213
 
1937
- [padding.ts:7](https://github.com/daysnap/utils/blob/71e90a2/src/padding.ts#L7)
2214
+ [padding.ts:7](https://github.com/daysnap/utils/blob/f85d32c/src/padding.ts#L7)
1938
2215
 
1939
2216
  ___
1940
2217
 
@@ -1956,7 +2233,7 @@ ___
1956
2233
 
1957
2234
  #### Defined in
1958
2235
 
1959
- [parseDate.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/parseDate.ts#L4)
2236
+ [parseDate.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/parseDate.ts#L4)
1960
2237
 
1961
2238
  ___
1962
2239
 
@@ -1979,7 +2256,7 @@ ___
1979
2256
 
1980
2257
  #### Defined in
1981
2258
 
1982
- [parseError.ts:8](https://github.com/daysnap/utils/blob/71e90a2/src/parseError.ts#L8)
2259
+ [parseError.ts:8](https://github.com/daysnap/utils/blob/f85d32c/src/parseError.ts#L8)
1983
2260
 
1984
2261
  ___
1985
2262
 
@@ -2009,7 +2286,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
2009
2286
 
2010
2287
  #### Defined in
2011
2288
 
2012
- [parseObject.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/parseObject.ts#L5)
2289
+ [parseObject.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/parseObject.ts#L5)
2013
2290
 
2014
2291
  ___
2015
2292
 
@@ -2038,7 +2315,7 @@ ___
2038
2315
 
2039
2316
  #### Defined in
2040
2317
 
2041
- [parsePath.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/parsePath.ts#L6)
2318
+ [parsePath.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/parsePath.ts#L6)
2042
2319
 
2043
2320
  ___
2044
2321
 
@@ -2061,7 +2338,7 @@ ___
2061
2338
 
2062
2339
  #### Defined in
2063
2340
 
2064
- [parseQuery.ts:8](https://github.com/daysnap/utils/blob/71e90a2/src/parseQuery.ts#L8)
2341
+ [parseQuery.ts:8](https://github.com/daysnap/utils/blob/f85d32c/src/parseQuery.ts#L8)
2065
2342
 
2066
2343
  ___
2067
2344
 
@@ -2084,7 +2361,7 @@ pascalCase('hello-world') => HelloWorld
2084
2361
 
2085
2362
  #### Defined in
2086
2363
 
2087
- [pascalCase.ts:8](https://github.com/daysnap/utils/blob/71e90a2/src/pascalCase.ts#L8)
2364
+ [pascalCase.ts:8](https://github.com/daysnap/utils/blob/f85d32c/src/pascalCase.ts#L8)
2088
2365
 
2089
2366
  ___
2090
2367
 
@@ -2114,7 +2391,7 @@ ___
2114
2391
 
2115
2392
  #### Defined in
2116
2393
 
2117
- [pick.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/pick.ts#L4)
2394
+ [pick.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/pick.ts#L4)
2118
2395
 
2119
2396
  ___
2120
2397
 
@@ -2137,7 +2414,7 @@ ___
2137
2414
 
2138
2415
  #### Defined in
2139
2416
 
2140
- [replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/replaceCrlf.ts#L4)
2417
+ [replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/replaceCrlf.ts#L4)
2141
2418
 
2142
2419
  ___
2143
2420
 
@@ -2161,7 +2438,7 @@ ___
2161
2438
 
2162
2439
  #### Defined in
2163
2440
 
2164
- [requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/requestFullScreen.ts#L6)
2441
+ [requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/requestFullScreen.ts#L6)
2165
2442
 
2166
2443
  ___
2167
2444
 
@@ -2187,7 +2464,7 @@ reserve(0, '--') => 0
2187
2464
 
2188
2465
  #### Defined in
2189
2466
 
2190
- [reserve.ts:8](https://github.com/daysnap/utils/blob/71e90a2/src/reserve.ts#L8)
2467
+ [reserve.ts:8](https://github.com/daysnap/utils/blob/f85d32c/src/reserve.ts#L8)
2191
2468
 
2192
2469
  ___
2193
2470
 
@@ -2211,7 +2488,7 @@ ___
2211
2488
 
2212
2489
  #### Defined in
2213
2490
 
2214
- [rgbToHex.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/rgbToHex.ts#L4)
2491
+ [rgbToHex.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/rgbToHex.ts#L4)
2215
2492
 
2216
2493
  ___
2217
2494
 
@@ -2234,7 +2511,7 @@ ___
2234
2511
 
2235
2512
  #### Defined in
2236
2513
 
2237
- [round.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/round.ts#L6)
2514
+ [round.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/round.ts#L6)
2238
2515
 
2239
2516
  ___
2240
2517
 
@@ -2250,7 +2527,7 @@ ___
2250
2527
 
2251
2528
  #### Defined in
2252
2529
 
2253
- [scrollToTop.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/scrollToTop.ts#L4)
2530
+ [scrollToTop.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/scrollToTop.ts#L4)
2254
2531
 
2255
2532
  ___
2256
2533
 
@@ -2273,7 +2550,7 @@ ___
2273
2550
 
2274
2551
  #### Defined in
2275
2552
 
2276
- [sleep.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/sleep.ts#L6)
2553
+ [sleep.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/sleep.ts#L6)
2277
2554
 
2278
2555
  ___
2279
2556
 
@@ -2302,7 +2579,7 @@ ___
2302
2579
 
2303
2580
  #### Defined in
2304
2581
 
2305
- [splitArray.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/splitArray.ts#L4)
2582
+ [splitArray.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/splitArray.ts#L4)
2306
2583
 
2307
2584
  ___
2308
2585
 
@@ -2325,7 +2602,7 @@ ___
2325
2602
 
2326
2603
  #### Defined in
2327
2604
 
2328
- [stringTrim.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/stringTrim.ts#L6)
2605
+ [stringTrim.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/stringTrim.ts#L6)
2329
2606
 
2330
2607
  ___
2331
2608
 
@@ -2347,7 +2624,7 @@ ___
2347
2624
 
2348
2625
  #### Defined in
2349
2626
 
2350
- [stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/71e90a2/src/stringifyQuery.ts#L7)
2627
+ [stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/f85d32c/src/stringifyQuery.ts#L7)
2351
2628
 
2352
2629
  ___
2353
2630
 
@@ -2390,7 +2667,7 @@ ___
2390
2667
 
2391
2668
  #### Defined in
2392
2669
 
2393
- [throttle.ts:5](https://github.com/daysnap/utils/blob/71e90a2/src/throttle.ts#L5)
2670
+ [throttle.ts:5](https://github.com/daysnap/utils/blob/f85d32c/src/throttle.ts#L5)
2394
2671
 
2395
2672
  ___
2396
2673
 
@@ -2412,7 +2689,7 @@ ___
2412
2689
 
2413
2690
  #### Defined in
2414
2691
 
2415
- [toCDB.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/toCDB.ts#L4)
2692
+ [toCDB.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/toCDB.ts#L4)
2416
2693
 
2417
2694
  ___
2418
2695
 
@@ -2434,7 +2711,7 @@ ___
2434
2711
 
2435
2712
  #### Defined in
2436
2713
 
2437
- [toDBC.ts:4](https://github.com/daysnap/utils/blob/71e90a2/src/toDBC.ts#L4)
2714
+ [toDBC.ts:4](https://github.com/daysnap/utils/blob/f85d32c/src/toDBC.ts#L4)
2438
2715
 
2439
2716
  ___
2440
2717
 
@@ -2458,4 +2735,4 @@ ___
2458
2735
 
2459
2736
  #### Defined in
2460
2737
 
2461
- [typeOf.ts:6](https://github.com/daysnap/utils/blob/71e90a2/src/typeOf.ts#L6)
2738
+ [typeOf.ts:6](https://github.com/daysnap/utils/blob/f85d32c/src/typeOf.ts#L6)