@daysnap/utils 0.1.7 → 0.1.9

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 (41) hide show
  1. package/docs/interfaces/EventBusCallback.md +1 -1
  2. package/docs/interfaces/StorageManager.md +4 -4
  3. package/docs/interfaces/Trap.md +5 -5
  4. package/docs/modules.md +202 -130
  5. package/es/{chunk-NGFLPGX6.js → chunk-4WQPAGCE.js} +4 -4
  6. package/es/chunk-5EVWQVDV.js +8 -0
  7. package/es/{chunk-PRX2MBKT.js → chunk-EJMUWNXI.js} +1 -1
  8. package/es/chunk-HREC4YYI.js +23 -0
  9. package/es/{chunk-L3SGRXY4.js → chunk-TXWIC3L7.js} +1 -1
  10. package/es/filterEmptyValue.js +4 -4
  11. package/es/formatMessage.js +2 -2
  12. package/es/getRangeDate.d.ts +7 -0
  13. package/es/getRangeDate.js +9 -0
  14. package/es/index.d.ts +2 -0
  15. package/es/index.js +45 -37
  16. package/es/isEmpty.js +2 -2
  17. package/es/isType.d.ts +6 -0
  18. package/es/isType.js +6 -0
  19. package/es/parseError.js +3 -3
  20. package/es/reserve.js +3 -3
  21. package/lib/chunk-2DCEWABW.cjs +23 -0
  22. package/lib/{chunk-32RJMGP7.cjs → chunk-6LOBB2KW.cjs} +5 -5
  23. package/lib/{chunk-POTEREGD.cjs → chunk-KEDGCQDC.cjs} +2 -2
  24. package/lib/chunk-SGXWZSMS.cjs +8 -0
  25. package/lib/{chunk-2KBZS6IE.cjs → chunk-SYJEN3G6.cjs} +2 -2
  26. package/lib/filterEmptyValue.cjs +5 -5
  27. package/lib/formatMessage.cjs +3 -3
  28. package/lib/getRangeDate.cjs +9 -0
  29. package/lib/getRangeDate.d.cts +7 -0
  30. package/lib/index.cjs +37 -29
  31. package/lib/index.d.cts +2 -0
  32. package/lib/isEmpty.cjs +3 -3
  33. package/lib/isType.cjs +6 -0
  34. package/lib/isType.d.cts +6 -0
  35. package/lib/parseError.cjs +4 -4
  36. package/lib/reserve.cjs +4 -4
  37. package/package.json +1 -1
  38. package/es/{chunk-A3HVDNCH.js → chunk-YBAHLKXR.js} +3 -3
  39. package/es/{chunk-HGBFTHPD.js → chunk-YGV2UKBN.js} +3 -3
  40. package/lib/{chunk-NN5IQFG3.cjs → chunk-22FM4HKF.cjs} +2 -2
  41. package/lib/{chunk-CLG6CKOT.cjs → chunk-A2J34A3K.cjs} +2 -2
package/docs/modules.md CHANGED
@@ -65,6 +65,7 @@
65
65
  - [getRandom](modules.md#getrandom)
66
66
  - [getRandomColor](modules.md#getrandomcolor)
67
67
  - [getRandomNumber](modules.md#getrandomnumber)
68
+ - [getRangeDate](modules.md#getrangedate)
68
69
  - [getScrollTop](modules.md#getscrolltop)
69
70
  - [getVideoInfo](modules.md#getvideoinfo)
70
71
  - [getWeekday](modules.md#getweekday)
@@ -99,6 +100,7 @@
99
100
  - [isPromise](modules.md#ispromise)
100
101
  - [isRegExp](modules.md#isregexp)
101
102
  - [isString](modules.md#isstring)
103
+ - [isType](modules.md#istype)
102
104
  - [isUndefined](modules.md#isundefined)
103
105
  - [isUrl](modules.md#isurl)
104
106
  - [isValidDate](modules.md#isvaliddate)
@@ -160,7 +162,7 @@
160
162
 
161
163
  #### Defined in
162
164
 
163
- [eventBus.ts:38](https://github.com/daysnap/utils/blob/a50b6d0/src/eventBus.ts#L38)
165
+ [eventBus.ts:38](https://github.com/daysnap/utils/blob/c7e0698/src/eventBus.ts#L38)
164
166
 
165
167
  ___
166
168
 
@@ -170,7 +172,7 @@ ___
170
172
 
171
173
  #### Defined in
172
174
 
173
- [trap.ts:15](https://github.com/daysnap/utils/blob/a50b6d0/src/trap.ts#L15)
175
+ [trap.ts:15](https://github.com/daysnap/utils/blob/c7e0698/src/trap.ts#L15)
174
176
 
175
177
  ## Functions
176
178
 
@@ -208,7 +210,7 @@ res = { '1': '男', '2': '女' }
208
210
 
209
211
  #### Defined in
210
212
 
211
- [ato.ts:12](https://github.com/daysnap/utils/blob/a50b6d0/src/ato.ts#L12)
213
+ [ato.ts:12](https://github.com/daysnap/utils/blob/c7e0698/src/ato.ts#L12)
212
214
 
213
215
  ▸ **ato**<`T`, `K`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `any`\>
214
216
 
@@ -233,7 +235,7 @@ res = { '1': '男', '2': '女' }
233
235
 
234
236
  #### Defined in
235
237
 
236
- [ato.ts:16](https://github.com/daysnap/utils/blob/a50b6d0/src/ato.ts#L16)
238
+ [ato.ts:16](https://github.com/daysnap/utils/blob/c7e0698/src/ato.ts#L16)
237
239
 
238
240
  ___
239
241
 
@@ -253,7 +255,7 @@ ___
253
255
 
254
256
  #### Defined in
255
257
 
256
- [decode.ts:41](https://github.com/daysnap/utils/blob/a50b6d0/src/decode.ts#L41)
258
+ [decode.ts:41](https://github.com/daysnap/utils/blob/c7e0698/src/decode.ts#L41)
257
259
 
258
260
  ___
259
261
 
@@ -276,7 +278,7 @@ base64 转 blob
276
278
 
277
279
  #### Defined in
278
280
 
279
- [base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/base64ToBlob.ts#L6)
281
+ [base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/base64ToBlob.ts#L6)
280
282
 
281
283
  ___
282
284
 
@@ -298,7 +300,7 @@ blob 转 base64
298
300
 
299
301
  #### Defined in
300
302
 
301
- [blobToBase64.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/blobToBase64.ts#L4)
303
+ [blobToBase64.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/blobToBase64.ts#L4)
302
304
 
303
305
  ___
304
306
 
@@ -318,7 +320,7 @@ ___
318
320
 
319
321
  #### Defined in
320
322
 
321
- [decode.ts:8](https://github.com/daysnap/utils/blob/a50b6d0/src/decode.ts#L8)
323
+ [decode.ts:8](https://github.com/daysnap/utils/blob/c7e0698/src/decode.ts#L8)
322
324
 
323
325
  ___
324
326
 
@@ -359,7 +361,7 @@ ___
359
361
 
360
362
  #### Defined in
361
363
 
362
- [cached.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/cached.ts#L5)
364
+ [cached.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/cached.ts#L5)
363
365
 
364
366
  ___
365
367
 
@@ -382,7 +384,7 @@ camelCase('hello-world') => helloWorld
382
384
 
383
385
  #### Defined in
384
386
 
385
- [camelCase.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/camelCase.ts#L5)
387
+ [camelCase.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/camelCase.ts#L5)
386
388
 
387
389
  ___
388
390
 
@@ -406,7 +408,7 @@ canvas 转 blob 文件
406
408
 
407
409
  #### Defined in
408
410
 
409
- [canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/canvasToBlob.ts#L4)
411
+ [canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/canvasToBlob.ts#L4)
410
412
 
411
413
  ___
412
414
 
@@ -429,7 +431,7 @@ capitalize('hello world') => Hello world
429
431
 
430
432
  #### Defined in
431
433
 
432
- [capitalize.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/capitalize.ts#L5)
434
+ [capitalize.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/capitalize.ts#L5)
433
435
 
434
436
  ___
435
437
 
@@ -454,7 +456,7 @@ ___
454
456
 
455
457
  #### Defined in
456
458
 
457
- [chooseMedia.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/chooseMedia.ts#L5)
459
+ [chooseMedia.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/chooseMedia.ts#L5)
458
460
 
459
461
  ___
460
462
 
@@ -478,7 +480,7 @@ ___
478
480
 
479
481
  #### Defined in
480
482
 
481
- [clamp.ts:7](https://github.com/daysnap/utils/blob/a50b6d0/src/clamp.ts#L7)
483
+ [clamp.ts:7](https://github.com/daysnap/utils/blob/c7e0698/src/clamp.ts#L7)
482
484
 
483
485
  ___
484
486
 
@@ -506,7 +508,7 @@ ___
506
508
 
507
509
  #### Defined in
508
510
 
509
- [clone.ts:8](https://github.com/daysnap/utils/blob/a50b6d0/src/clone.ts#L8)
511
+ [clone.ts:8](https://github.com/daysnap/utils/blob/c7e0698/src/clone.ts#L8)
510
512
 
511
513
  ___
512
514
 
@@ -534,7 +536,7 @@ ___
534
536
 
535
537
  #### Defined in
536
538
 
537
- [cloneSimple.ts:7](https://github.com/daysnap/utils/blob/a50b6d0/src/cloneSimple.ts#L7)
539
+ [cloneSimple.ts:7](https://github.com/daysnap/utils/blob/c7e0698/src/cloneSimple.ts#L7)
538
540
 
539
541
  ___
540
542
 
@@ -556,7 +558,7 @@ ___
556
558
 
557
559
  #### Defined in
558
560
 
559
- [createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/createHexColorByHash.ts#L4)
561
+ [createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/createHexColorByHash.ts#L4)
560
562
 
561
563
  ___
562
564
 
@@ -582,7 +584,7 @@ ___
582
584
 
583
585
  #### Defined in
584
586
 
585
- [compareVersion.ts:9](https://github.com/daysnap/utils/blob/a50b6d0/src/compareVersion.ts#L9)
587
+ [compareVersion.ts:9](https://github.com/daysnap/utils/blob/c7e0698/src/compareVersion.ts#L9)
586
588
 
587
589
  ___
588
590
 
@@ -605,7 +607,7 @@ ___
605
607
 
606
608
  #### Defined in
607
609
 
608
- [compressImage.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/compressImage.ts#L4)
610
+ [compressImage.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/compressImage.ts#L4)
609
611
 
610
612
  ___
611
613
 
@@ -633,7 +635,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
633
635
 
634
636
  #### Defined in
635
637
 
636
- [createFactory.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/createFactory.ts#L4)
638
+ [createFactory.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/createFactory.ts#L4)
637
639
 
638
640
  ___
639
641
 
@@ -671,7 +673,7 @@ ___
671
673
 
672
674
  #### Defined in
673
675
 
674
- [createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/a50b6d0/src/createLinearFunction.ts#L9)
676
+ [createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/c7e0698/src/createLinearFunction.ts#L9)
675
677
 
676
678
  ___
677
679
 
@@ -703,7 +705,7 @@ ___
703
705
 
704
706
  #### Defined in
705
707
 
706
- [trap.ts:49](https://github.com/daysnap/utils/blob/a50b6d0/src/trap.ts#L49)
708
+ [trap.ts:49](https://github.com/daysnap/utils/blob/c7e0698/src/trap.ts#L49)
707
709
 
708
710
  ___
709
711
 
@@ -766,7 +768,7 @@ fn() 执行的时候就会执行showLoading
766
768
 
767
769
  #### Defined in
768
770
 
769
- [createWithLoading.ts:11](https://github.com/daysnap/utils/blob/a50b6d0/src/createWithLoading.ts#L11)
771
+ [createWithLoading.ts:11](https://github.com/daysnap/utils/blob/c7e0698/src/createWithLoading.ts#L11)
770
772
 
771
773
  ___
772
774
 
@@ -809,7 +811,7 @@ ___
809
811
 
810
812
  #### Defined in
811
813
 
812
- [debounce.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/debounce.ts#L5)
814
+ [debounce.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/debounce.ts#L5)
813
815
 
814
816
  ___
815
817
 
@@ -833,7 +835,7 @@ ___
833
835
 
834
836
  #### Defined in
835
837
 
836
- [downloadFile.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/downloadFile.ts#L4)
838
+ [downloadFile.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/downloadFile.ts#L4)
837
839
 
838
840
  ___
839
841
 
@@ -862,7 +864,7 @@ ___
862
864
 
863
865
  #### Defined in
864
866
 
865
- [each.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/each.ts#L4)
867
+ [each.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/each.ts#L4)
866
868
 
867
869
  ▸ **each**<`T`\>(`data`, `callback`): `void`
868
870
 
@@ -885,7 +887,7 @@ ___
885
887
 
886
888
  #### Defined in
887
889
 
888
- [each.ts:8](https://github.com/daysnap/utils/blob/a50b6d0/src/each.ts#L8)
890
+ [each.ts:8](https://github.com/daysnap/utils/blob/c7e0698/src/each.ts#L8)
889
891
 
890
892
  ___
891
893
 
@@ -903,7 +905,7 @@ ___
903
905
 
904
906
  #### Defined in
905
907
 
906
- [exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/exitFullscreen.ts#L6)
908
+ [exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/exitFullscreen.ts#L6)
907
909
 
908
910
  ___
909
911
 
@@ -932,7 +934,7 @@ ___
932
934
 
933
935
  #### Defined in
934
936
 
935
- [storage/factory.ts:11](https://github.com/daysnap/utils/blob/a50b6d0/src/storage/factory.ts#L11)
937
+ [storage/factory.ts:11](https://github.com/daysnap/utils/blob/c7e0698/src/storage/factory.ts#L11)
936
938
 
937
939
  ___
938
940
 
@@ -954,7 +956,7 @@ ___
954
956
 
955
957
  #### Defined in
956
958
 
957
- [filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/filterBankCardNo.ts#L4)
959
+ [filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/filterBankCardNo.ts#L4)
958
960
 
959
961
  ___
960
962
 
@@ -976,7 +978,7 @@ ___
976
978
 
977
979
  #### Defined in
978
980
 
979
- [filterCRLF.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/filterCRLF.ts#L4)
981
+ [filterCRLF.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/filterCRLF.ts#L4)
980
982
 
981
983
  ___
982
984
 
@@ -998,7 +1000,7 @@ ___
998
1000
 
999
1001
  #### Defined in
1000
1002
 
1001
- [filterEmoji.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/filterEmoji.ts#L4)
1003
+ [filterEmoji.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/filterEmoji.ts#L4)
1002
1004
 
1003
1005
  ___
1004
1006
 
@@ -1021,7 +1023,7 @@ ___
1021
1023
 
1022
1024
  #### Defined in
1023
1025
 
1024
- [filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/a50b6d0/src/filterEmptyValue.ts#L12)
1026
+ [filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/c7e0698/src/filterEmptyValue.ts#L12)
1025
1027
 
1026
1028
  ___
1027
1029
 
@@ -1044,7 +1046,7 @@ ___
1044
1046
 
1045
1047
  #### Defined in
1046
1048
 
1047
- [filterIdCard.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/filterIdCard.ts#L5)
1049
+ [filterIdCard.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/filterIdCard.ts#L5)
1048
1050
 
1049
1051
  ___
1050
1052
 
@@ -1066,7 +1068,7 @@ ___
1066
1068
 
1067
1069
  #### Defined in
1068
1070
 
1069
- [filterName.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/filterName.ts#L4)
1071
+ [filterName.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/filterName.ts#L4)
1070
1072
 
1071
1073
  ___
1072
1074
 
@@ -1091,7 +1093,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
1091
1093
 
1092
1094
  #### Defined in
1093
1095
 
1094
- [filterPhone.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/filterPhone.ts#L6)
1096
+ [filterPhone.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/filterPhone.ts#L6)
1095
1097
 
1096
1098
  ___
1097
1099
 
@@ -1118,7 +1120,7 @@ str = '131****8888'
1118
1120
 
1119
1121
  #### Defined in
1120
1122
 
1121
- [filterString.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/filterString.ts#L6)
1123
+ [filterString.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/filterString.ts#L6)
1122
1124
 
1123
1125
  ___
1124
1126
 
@@ -1141,7 +1143,7 @@ ___
1141
1143
 
1142
1144
  #### Defined in
1143
1145
 
1144
- [formatAmount.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/formatAmount.ts#L4)
1146
+ [formatAmount.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/formatAmount.ts#L4)
1145
1147
 
1146
1148
  ___
1147
1149
 
@@ -1165,7 +1167,7 @@ ___
1165
1167
 
1166
1168
  #### Defined in
1167
1169
 
1168
- [formatDate.ts:7](https://github.com/daysnap/utils/blob/a50b6d0/src/formatDate.ts#L7)
1170
+ [formatDate.ts:7](https://github.com/daysnap/utils/blob/c7e0698/src/formatDate.ts#L7)
1169
1171
 
1170
1172
  ___
1171
1173
 
@@ -1196,7 +1198,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
1196
1198
 
1197
1199
  #### Defined in
1198
1200
 
1199
- [formatDateStr.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/formatDateStr.ts#L6)
1201
+ [formatDateStr.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/formatDateStr.ts#L6)
1200
1202
 
1201
1203
  ___
1202
1204
 
@@ -1216,7 +1218,7 @@ ___
1216
1218
 
1217
1219
  #### Defined in
1218
1220
 
1219
- [formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/formartDateToZN.ts#L4)
1221
+ [formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/formartDateToZN.ts#L4)
1220
1222
 
1221
1223
  ___
1222
1224
 
@@ -1239,7 +1241,7 @@ ___
1239
1241
 
1240
1242
  #### Defined in
1241
1243
 
1242
- [formatFileSize.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/formatFileSize.ts#L4)
1244
+ [formatFileSize.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/formatFileSize.ts#L4)
1243
1245
 
1244
1246
  ___
1245
1247
 
@@ -1264,7 +1266,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
1264
1266
 
1265
1267
  #### Defined in
1266
1268
 
1267
- [formatMessage.ts:11](https://github.com/daysnap/utils/blob/a50b6d0/src/formatMessage.ts#L11)
1269
+ [formatMessage.ts:11](https://github.com/daysnap/utils/blob/c7e0698/src/formatMessage.ts#L11)
1268
1270
 
1269
1271
  ___
1270
1272
 
@@ -1296,7 +1298,7 @@ rest = { xxx: 1 }
1296
1298
 
1297
1299
  #### Defined in
1298
1300
 
1299
- [formatPathParams.ts:8](https://github.com/daysnap/utils/blob/a50b6d0/src/formatPathParams.ts#L8)
1301
+ [formatPathParams.ts:8](https://github.com/daysnap/utils/blob/c7e0698/src/formatPathParams.ts#L8)
1300
1302
 
1301
1303
  ___
1302
1304
 
@@ -1318,7 +1320,7 @@ ___
1318
1320
 
1319
1321
  #### Defined in
1320
1322
 
1321
- [getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/getBlobByUrl.ts#L4)
1323
+ [getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/getBlobByUrl.ts#L4)
1322
1324
 
1323
1325
  ___
1324
1326
 
@@ -1341,7 +1343,7 @@ ___
1341
1343
 
1342
1344
  #### Defined in
1343
1345
 
1344
- [storage/index.ts:9](https://github.com/daysnap/utils/blob/a50b6d0/src/storage/index.ts#L9)
1346
+ [storage/index.ts:9](https://github.com/daysnap/utils/blob/c7e0698/src/storage/index.ts#L9)
1345
1347
 
1346
1348
  ___
1347
1349
 
@@ -1363,7 +1365,7 @@ ___
1363
1365
 
1364
1366
  #### Defined in
1365
1367
 
1366
- [getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/getDayMillisecond.ts#L4)
1368
+ [getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/getDayMillisecond.ts#L4)
1367
1369
 
1368
1370
  ___
1369
1371
 
@@ -1386,7 +1388,7 @@ ___
1386
1388
 
1387
1389
  #### Defined in
1388
1390
 
1389
- [getImageInfo.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/getImageInfo.ts#L4)
1391
+ [getImageInfo.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/getImageInfo.ts#L4)
1390
1392
 
1391
1393
  ___
1392
1394
 
@@ -1409,7 +1411,7 @@ ___
1409
1411
 
1410
1412
  #### Defined in
1411
1413
 
1412
- [storage/index.ts:9](https://github.com/daysnap/utils/blob/a50b6d0/src/storage/index.ts#L9)
1414
+ [storage/index.ts:9](https://github.com/daysnap/utils/blob/c7e0698/src/storage/index.ts#L9)
1413
1415
 
1414
1416
  ___
1415
1417
 
@@ -1432,7 +1434,7 @@ ___
1432
1434
 
1433
1435
  #### Defined in
1434
1436
 
1435
- [getRandom.ts:7](https://github.com/daysnap/utils/blob/a50b6d0/src/getRandom.ts#L7)
1437
+ [getRandom.ts:7](https://github.com/daysnap/utils/blob/c7e0698/src/getRandom.ts#L7)
1436
1438
 
1437
1439
  ___
1438
1440
 
@@ -1448,7 +1450,7 @@ ___
1448
1450
 
1449
1451
  #### Defined in
1450
1452
 
1451
- [getRandomColor.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/getRandomColor.ts#L4)
1453
+ [getRandomColor.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/getRandomColor.ts#L4)
1452
1454
 
1453
1455
  ___
1454
1456
 
@@ -1470,7 +1472,48 @@ ___
1470
1472
 
1471
1473
  #### Defined in
1472
1474
 
1473
- [getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/a50b6d0/src/getRandomNumber.ts#L7)
1475
+ [getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/c7e0698/src/getRandomNumber.ts#L7)
1476
+
1477
+ ___
1478
+
1479
+ ### getRangeDate
1480
+
1481
+ ▸ **getRangeDate**(`sv`, `ev`): `Date`[]
1482
+
1483
+ 获取一个时间段的日期
1484
+
1485
+ #### Parameters
1486
+
1487
+ | Name | Type |
1488
+ | :------ | :------ |
1489
+ | `sv` | `string` \| `number` \| `Date` |
1490
+ | `ev` | `string` \| `number` \| `Date` |
1491
+
1492
+ #### Returns
1493
+
1494
+ `Date`[]
1495
+
1496
+ #### Defined in
1497
+
1498
+ getRangeDate.ts:7
1499
+
1500
+ ▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
1501
+
1502
+ #### Parameters
1503
+
1504
+ | Name | Type |
1505
+ | :------ | :------ |
1506
+ | `sv` | `string` \| `number` \| `Date` |
1507
+ | `ev` | `string` \| `number` \| `Date` |
1508
+ | `fmt` | `string` |
1509
+
1510
+ #### Returns
1511
+
1512
+ `string`[]
1513
+
1514
+ #### Defined in
1515
+
1516
+ getRangeDate.ts:11
1474
1517
 
1475
1518
  ___
1476
1519
 
@@ -1486,7 +1529,7 @@ ___
1486
1529
 
1487
1530
  #### Defined in
1488
1531
 
1489
- [getScrollTop.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/getScrollTop.ts#L4)
1532
+ [getScrollTop.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/getScrollTop.ts#L4)
1490
1533
 
1491
1534
  ___
1492
1535
 
@@ -1508,7 +1551,7 @@ ___
1508
1551
 
1509
1552
  #### Defined in
1510
1553
 
1511
- [getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/getVideoInfo.ts#L4)
1554
+ [getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/getVideoInfo.ts#L4)
1512
1555
 
1513
1556
  ___
1514
1557
 
@@ -1531,7 +1574,7 @@ ___
1531
1574
 
1532
1575
  #### Defined in
1533
1576
 
1534
- [getWeekday.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/getWeekday.ts#L6)
1577
+ [getWeekday.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/getWeekday.ts#L6)
1535
1578
 
1536
1579
  ___
1537
1580
 
@@ -1547,7 +1590,7 @@ ___
1547
1590
 
1548
1591
  #### Defined in
1549
1592
 
1550
- [inBrowser.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/inBrowser.ts#L4)
1593
+ [inBrowser.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/inBrowser.ts#L4)
1551
1594
 
1552
1595
  ___
1553
1596
 
@@ -1569,7 +1612,7 @@ ___
1569
1612
 
1570
1613
  #### Defined in
1571
1614
 
1572
- [insertLink.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/insertLink.ts#L4)
1615
+ [insertLink.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/insertLink.ts#L4)
1573
1616
 
1574
1617
  ▸ **insertLink**(`href`, `callback`): `void`
1575
1618
 
@@ -1586,7 +1629,7 @@ ___
1586
1629
 
1587
1630
  #### Defined in
1588
1631
 
1589
- [insertLink.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/insertLink.ts#L5)
1632
+ [insertLink.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/insertLink.ts#L5)
1590
1633
 
1591
1634
  ___
1592
1635
 
@@ -1608,7 +1651,7 @@ ___
1608
1651
 
1609
1652
  #### Defined in
1610
1653
 
1611
- [insertScript.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/insertScript.ts#L4)
1654
+ [insertScript.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/insertScript.ts#L4)
1612
1655
 
1613
1656
  ▸ **insertScript**(`src`, `callback`): `void`
1614
1657
 
@@ -1625,7 +1668,7 @@ ___
1625
1668
 
1626
1669
  #### Defined in
1627
1670
 
1628
- [insertScript.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/insertScript.ts#L5)
1671
+ [insertScript.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/insertScript.ts#L5)
1629
1672
 
1630
1673
  ___
1631
1674
 
@@ -1647,7 +1690,7 @@ ___
1647
1690
 
1648
1691
  #### Defined in
1649
1692
 
1650
- [insertStyle.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/insertStyle.ts#L4)
1693
+ [insertStyle.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/insertStyle.ts#L4)
1651
1694
 
1652
1695
  ___
1653
1696
 
@@ -1676,7 +1719,7 @@ isAmount('1.123') => false
1676
1719
 
1677
1720
  #### Defined in
1678
1721
 
1679
- [isAmount.ts:11](https://github.com/daysnap/utils/blob/a50b6d0/src/isAmount.ts#L11)
1722
+ [isAmount.ts:11](https://github.com/daysnap/utils/blob/c7e0698/src/isAmount.ts#L11)
1680
1723
 
1681
1724
  ___
1682
1725
 
@@ -1692,7 +1735,7 @@ ___
1692
1735
 
1693
1736
  #### Defined in
1694
1737
 
1695
- [isAndroid.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isAndroid.ts#L4)
1738
+ [isAndroid.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isAndroid.ts#L4)
1696
1739
 
1697
1740
  ___
1698
1741
 
@@ -1716,7 +1759,7 @@ val is any[]
1716
1759
 
1717
1760
  #### Defined in
1718
1761
 
1719
- [isArray.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/isArray.ts#L6)
1762
+ [isArray.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/isArray.ts#L6)
1720
1763
 
1721
1764
  ___
1722
1765
 
@@ -1738,7 +1781,7 @@ val is boolean
1738
1781
 
1739
1782
  #### Defined in
1740
1783
 
1741
- [isBoolean.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/isBoolean.ts#L5)
1784
+ [isBoolean.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/isBoolean.ts#L5)
1742
1785
 
1743
1786
  ___
1744
1787
 
@@ -1760,7 +1803,7 @@ ___
1760
1803
 
1761
1804
  #### Defined in
1762
1805
 
1763
- [isChinese.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isChinese.ts#L4)
1806
+ [isChinese.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isChinese.ts#L4)
1764
1807
 
1765
1808
  ___
1766
1809
 
@@ -1782,7 +1825,7 @@ val is Date
1782
1825
 
1783
1826
  #### Defined in
1784
1827
 
1785
- [isDate.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isDate.ts#L4)
1828
+ [isDate.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isDate.ts#L4)
1786
1829
 
1787
1830
  ___
1788
1831
 
@@ -1804,7 +1847,7 @@ ___
1804
1847
 
1805
1848
  #### Defined in
1806
1849
 
1807
- [isEmail.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isEmail.ts#L4)
1850
+ [isEmail.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isEmail.ts#L4)
1808
1851
 
1809
1852
  ___
1810
1853
 
@@ -1826,7 +1869,7 @@ ___
1826
1869
 
1827
1870
  #### Defined in
1828
1871
 
1829
- [isEmpty.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/isEmpty.ts#L6)
1872
+ [isEmpty.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/isEmpty.ts#L6)
1830
1873
 
1831
1874
  ___
1832
1875
 
@@ -1848,7 +1891,7 @@ ___
1848
1891
 
1849
1892
  #### Defined in
1850
1893
 
1851
- [isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/isEmptyArray.ts#L6)
1894
+ [isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/isEmptyArray.ts#L6)
1852
1895
 
1853
1896
  ___
1854
1897
 
@@ -1870,7 +1913,7 @@ ___
1870
1913
 
1871
1914
  #### Defined in
1872
1915
 
1873
- [isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/isEmptyObject.ts#L5)
1916
+ [isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/isEmptyObject.ts#L5)
1874
1917
 
1875
1918
  ___
1876
1919
 
@@ -1892,7 +1935,7 @@ val is Error
1892
1935
 
1893
1936
  #### Defined in
1894
1937
 
1895
- [isError.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isError.ts#L4)
1938
+ [isError.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isError.ts#L4)
1896
1939
 
1897
1940
  ___
1898
1941
 
@@ -1914,7 +1957,7 @@ val is Function
1914
1957
 
1915
1958
  #### Defined in
1916
1959
 
1917
- [isFunction.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isFunction.ts#L4)
1960
+ [isFunction.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isFunction.ts#L4)
1918
1961
 
1919
1962
  ___
1920
1963
 
@@ -1932,7 +1975,7 @@ ___
1932
1975
 
1933
1976
  #### Defined in
1934
1977
 
1935
- [isIE.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/isIE.ts#L6)
1978
+ [isIE.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/isIE.ts#L6)
1936
1979
 
1937
1980
  ___
1938
1981
 
@@ -1948,7 +1991,7 @@ ___
1948
1991
 
1949
1992
  #### Defined in
1950
1993
 
1951
- [isIOS.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isIOS.ts#L4)
1994
+ [isIOS.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isIOS.ts#L4)
1952
1995
 
1953
1996
  ___
1954
1997
 
@@ -1970,7 +2013,7 @@ ___
1970
2013
 
1971
2014
  #### Defined in
1972
2015
 
1973
- [isIdCard.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isIdCard.ts#L4)
2016
+ [isIdCard.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isIdCard.ts#L4)
1974
2017
 
1975
2018
  ___
1976
2019
 
@@ -1992,7 +2035,7 @@ ___
1992
2035
 
1993
2036
  #### Defined in
1994
2037
 
1995
- [isJSONString.ts:7](https://github.com/daysnap/utils/blob/a50b6d0/src/isJSONString.ts#L7)
2038
+ [isJSONString.ts:7](https://github.com/daysnap/utils/blob/c7e0698/src/isJSONString.ts#L7)
1996
2039
 
1997
2040
  ___
1998
2041
 
@@ -2014,7 +2057,7 @@ ___
2014
2057
 
2015
2058
  #### Defined in
2016
2059
 
2017
- [isLan.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/isLan.ts#L5)
2060
+ [isLan.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/isLan.ts#L5)
2018
2061
 
2019
2062
  ___
2020
2063
 
@@ -2036,7 +2079,7 @@ ___
2036
2079
 
2037
2080
  #### Defined in
2038
2081
 
2039
- [isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/isLicenseCode.ts#L5)
2082
+ [isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/isLicenseCode.ts#L5)
2040
2083
 
2041
2084
  ___
2042
2085
 
@@ -2052,7 +2095,7 @@ ___
2052
2095
 
2053
2096
  #### Defined in
2054
2097
 
2055
- [isMobile.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isMobile.ts#L4)
2098
+ [isMobile.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isMobile.ts#L4)
2056
2099
 
2057
2100
  ___
2058
2101
 
@@ -2075,7 +2118,7 @@ ___
2075
2118
 
2076
2119
  #### Defined in
2077
2120
 
2078
- [isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/a50b6d0/src/isNativeFunction.ts#L7)
2121
+ [isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/c7e0698/src/isNativeFunction.ts#L7)
2079
2122
 
2080
2123
  ___
2081
2124
 
@@ -2097,7 +2140,7 @@ val is null
2097
2140
 
2098
2141
  #### Defined in
2099
2142
 
2100
- [isNull.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isNull.ts#L4)
2143
+ [isNull.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isNull.ts#L4)
2101
2144
 
2102
2145
  ___
2103
2146
 
@@ -2119,7 +2162,7 @@ val is number
2119
2162
 
2120
2163
  #### Defined in
2121
2164
 
2122
- [isNumber.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/isNumber.ts#L5)
2165
+ [isNumber.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/isNumber.ts#L5)
2123
2166
 
2124
2167
  ___
2125
2168
 
@@ -2141,7 +2184,7 @@ val is Record<string, any\>
2141
2184
 
2142
2185
  #### Defined in
2143
2186
 
2144
- [isObject.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isObject.ts#L4)
2187
+ [isObject.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isObject.ts#L4)
2145
2188
 
2146
2189
  ___
2147
2190
 
@@ -2163,7 +2206,7 @@ ___
2163
2206
 
2164
2207
  #### Defined in
2165
2208
 
2166
- [isPhone.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isPhone.ts#L4)
2209
+ [isPhone.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isPhone.ts#L4)
2167
2210
 
2168
2211
  ___
2169
2212
 
@@ -2191,7 +2234,7 @@ val is Promise<T\>
2191
2234
 
2192
2235
  #### Defined in
2193
2236
 
2194
- [isPromise.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isPromise.ts#L4)
2237
+ [isPromise.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isPromise.ts#L4)
2195
2238
 
2196
2239
  ___
2197
2240
 
@@ -2213,7 +2256,7 @@ val is RegExp
2213
2256
 
2214
2257
  #### Defined in
2215
2258
 
2216
- [isRegExp.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isRegExp.ts#L4)
2259
+ [isRegExp.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isRegExp.ts#L4)
2217
2260
 
2218
2261
  ___
2219
2262
 
@@ -2235,7 +2278,36 @@ val is string
2235
2278
 
2236
2279
  #### Defined in
2237
2280
 
2238
- [isString.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isString.ts#L4)
2281
+ [isString.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isString.ts#L4)
2282
+
2283
+ ___
2284
+
2285
+ ### isType
2286
+
2287
+ ▸ **isType**<`T`\>(`val`, `checker`): val is T
2288
+
2289
+ 联合类型判断成其中某种类型
2290
+
2291
+ #### Type parameters
2292
+
2293
+ | Name | Type |
2294
+ | :------ | :------ |
2295
+ | `T` | `any` |
2296
+
2297
+ #### Parameters
2298
+
2299
+ | Name | Type |
2300
+ | :------ | :------ |
2301
+ | `val` | `unknown` |
2302
+ | `checker` | (`v`: `any`) => `boolean` |
2303
+
2304
+ #### Returns
2305
+
2306
+ val is T
2307
+
2308
+ #### Defined in
2309
+
2310
+ [isType.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isType.ts#L4)
2239
2311
 
2240
2312
  ___
2241
2313
 
@@ -2257,7 +2329,7 @@ val is undefined
2257
2329
 
2258
2330
  #### Defined in
2259
2331
 
2260
- [isUndefined.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isUndefined.ts#L4)
2332
+ [isUndefined.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isUndefined.ts#L4)
2261
2333
 
2262
2334
  ___
2263
2335
 
@@ -2301,7 +2373,7 @@ ___
2301
2373
 
2302
2374
  #### Defined in
2303
2375
 
2304
- [isValidDate.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/isValidDate.ts#L6)
2376
+ [isValidDate.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/isValidDate.ts#L6)
2305
2377
 
2306
2378
  ___
2307
2379
 
@@ -2317,7 +2389,7 @@ ___
2317
2389
 
2318
2390
  #### Defined in
2319
2391
 
2320
- [isWeChat.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/isWeChat.ts#L4)
2392
+ [isWeChat.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/isWeChat.ts#L4)
2321
2393
 
2322
2394
  ___
2323
2395
 
@@ -2334,7 +2406,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
2334
2406
 
2335
2407
  #### Defined in
2336
2408
 
2337
- [isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/isWeChatMiniProgram.ts#L5)
2409
+ [isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/isWeChatMiniProgram.ts#L5)
2338
2410
 
2339
2411
  ___
2340
2412
 
@@ -2358,7 +2430,7 @@ ___
2358
2430
 
2359
2431
  #### Defined in
2360
2432
 
2361
- [isWeChat.ts:12](https://github.com/daysnap/utils/blob/a50b6d0/src/isWeChat.ts#L12)
2433
+ [isWeChat.ts:12](https://github.com/daysnap/utils/blob/c7e0698/src/isWeChat.ts#L12)
2362
2434
 
2363
2435
  ___
2364
2436
 
@@ -2380,7 +2452,7 @@ val is Window
2380
2452
 
2381
2453
  #### Defined in
2382
2454
 
2383
- [isWindow.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/isWindow.ts#L5)
2455
+ [isWindow.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/isWindow.ts#L5)
2384
2456
 
2385
2457
  ___
2386
2458
 
@@ -2403,7 +2475,7 @@ kebabCase('helloWorld') => hello-world
2403
2475
 
2404
2476
  #### Defined in
2405
2477
 
2406
- [kebabCase.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/kebabCase.ts#L5)
2478
+ [kebabCase.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/kebabCase.ts#L5)
2407
2479
 
2408
2480
  ___
2409
2481
 
@@ -2432,7 +2504,7 @@ list 生成器,快速生成数据
2432
2504
 
2433
2505
  #### Defined in
2434
2506
 
2435
- [listGenerator.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/listGenerator.ts#L5)
2507
+ [listGenerator.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/listGenerator.ts#L5)
2436
2508
 
2437
2509
  ___
2438
2510
 
@@ -2452,7 +2524,7 @@ ___
2452
2524
 
2453
2525
  #### Defined in
2454
2526
 
2455
- [makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/a50b6d0/src/makePhoneCall.ts#L1)
2527
+ [makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/c7e0698/src/makePhoneCall.ts#L1)
2456
2528
 
2457
2529
  ___
2458
2530
 
@@ -2477,7 +2549,7 @@ ___
2477
2549
 
2478
2550
  #### Defined in
2479
2551
 
2480
- [mousewheel.ts:22](https://github.com/daysnap/utils/blob/a50b6d0/src/mousewheel.ts#L22)
2552
+ [mousewheel.ts:22](https://github.com/daysnap/utils/blob/c7e0698/src/mousewheel.ts#L22)
2481
2553
 
2482
2554
  ___
2483
2555
 
@@ -2493,7 +2565,7 @@ ___
2493
2565
 
2494
2566
  #### Defined in
2495
2567
 
2496
- [nf.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/nf.ts#L4)
2568
+ [nf.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/nf.ts#L4)
2497
2569
 
2498
2570
  ___
2499
2571
 
@@ -2517,7 +2589,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
2517
2589
 
2518
2590
  #### Defined in
2519
2591
 
2520
- [normalizeDate.ts:8](https://github.com/daysnap/utils/blob/a50b6d0/src/normalizeDate.ts#L8)
2592
+ [normalizeDate.ts:8](https://github.com/daysnap/utils/blob/c7e0698/src/normalizeDate.ts#L8)
2521
2593
 
2522
2594
  ___
2523
2595
 
@@ -2539,7 +2611,7 @@ ___
2539
2611
 
2540
2612
  #### Defined in
2541
2613
 
2542
- [normalizePath.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/normalizePath.ts#L4)
2614
+ [normalizePath.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/normalizePath.ts#L4)
2543
2615
 
2544
2616
  ___
2545
2617
 
@@ -2569,7 +2641,7 @@ ___
2569
2641
 
2570
2642
  #### Defined in
2571
2643
 
2572
- [omit.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/omit.ts#L4)
2644
+ [omit.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/omit.ts#L4)
2573
2645
 
2574
2646
  ___
2575
2647
 
@@ -2593,7 +2665,7 @@ ___
2593
2665
 
2594
2666
  #### Defined in
2595
2667
 
2596
- [padding.ts:7](https://github.com/daysnap/utils/blob/a50b6d0/src/padding.ts#L7)
2668
+ [padding.ts:7](https://github.com/daysnap/utils/blob/c7e0698/src/padding.ts#L7)
2597
2669
 
2598
2670
  ___
2599
2671
 
@@ -2619,7 +2691,7 @@ ___
2619
2691
 
2620
2692
  #### Defined in
2621
2693
 
2622
- [parseDate.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/parseDate.ts#L5)
2694
+ [parseDate.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/parseDate.ts#L5)
2623
2695
 
2624
2696
  ___
2625
2697
 
@@ -2642,7 +2714,7 @@ ___
2642
2714
 
2643
2715
  #### Defined in
2644
2716
 
2645
- [parseError.ts:8](https://github.com/daysnap/utils/blob/a50b6d0/src/parseError.ts#L8)
2717
+ [parseError.ts:8](https://github.com/daysnap/utils/blob/c7e0698/src/parseError.ts#L8)
2646
2718
 
2647
2719
  ___
2648
2720
 
@@ -2672,7 +2744,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
2672
2744
 
2673
2745
  #### Defined in
2674
2746
 
2675
- [parseObject.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/parseObject.ts#L5)
2747
+ [parseObject.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/parseObject.ts#L5)
2676
2748
 
2677
2749
  ___
2678
2750
 
@@ -2701,7 +2773,7 @@ ___
2701
2773
 
2702
2774
  #### Defined in
2703
2775
 
2704
- [parsePath.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/parsePath.ts#L6)
2776
+ [parsePath.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/parsePath.ts#L6)
2705
2777
 
2706
2778
  ___
2707
2779
 
@@ -2724,7 +2796,7 @@ ___
2724
2796
 
2725
2797
  #### Defined in
2726
2798
 
2727
- [parseQuery.ts:8](https://github.com/daysnap/utils/blob/a50b6d0/src/parseQuery.ts#L8)
2799
+ [parseQuery.ts:8](https://github.com/daysnap/utils/blob/c7e0698/src/parseQuery.ts#L8)
2728
2800
 
2729
2801
  ___
2730
2802
 
@@ -2754,7 +2826,7 @@ ___
2754
2826
 
2755
2827
  #### Defined in
2756
2828
 
2757
- [parseQueryString.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/parseQueryString.ts#L6)
2829
+ [parseQueryString.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/parseQueryString.ts#L6)
2758
2830
 
2759
2831
  ___
2760
2832
 
@@ -2777,7 +2849,7 @@ pascalCase('hello-world') => HelloWorld
2777
2849
 
2778
2850
  #### Defined in
2779
2851
 
2780
- [pascalCase.ts:8](https://github.com/daysnap/utils/blob/a50b6d0/src/pascalCase.ts#L8)
2852
+ [pascalCase.ts:8](https://github.com/daysnap/utils/blob/c7e0698/src/pascalCase.ts#L8)
2781
2853
 
2782
2854
  ___
2783
2855
 
@@ -2807,7 +2879,7 @@ ___
2807
2879
 
2808
2880
  #### Defined in
2809
2881
 
2810
- [pick.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/pick.ts#L4)
2882
+ [pick.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/pick.ts#L4)
2811
2883
 
2812
2884
  ___
2813
2885
 
@@ -2830,7 +2902,7 @@ ___
2830
2902
 
2831
2903
  #### Defined in
2832
2904
 
2833
- [replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/replaceCrlf.ts#L4)
2905
+ [replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/replaceCrlf.ts#L4)
2834
2906
 
2835
2907
  ___
2836
2908
 
@@ -2854,7 +2926,7 @@ ___
2854
2926
 
2855
2927
  #### Defined in
2856
2928
 
2857
- [requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/requestFullScreen.ts#L6)
2929
+ [requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/requestFullScreen.ts#L6)
2858
2930
 
2859
2931
  ___
2860
2932
 
@@ -2880,7 +2952,7 @@ reserve(0, '--') => 0
2880
2952
 
2881
2953
  #### Defined in
2882
2954
 
2883
- [reserve.ts:8](https://github.com/daysnap/utils/blob/a50b6d0/src/reserve.ts#L8)
2955
+ [reserve.ts:8](https://github.com/daysnap/utils/blob/c7e0698/src/reserve.ts#L8)
2884
2956
 
2885
2957
  ___
2886
2958
 
@@ -2904,7 +2976,7 @@ ___
2904
2976
 
2905
2977
  #### Defined in
2906
2978
 
2907
- [rgbToHex.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/rgbToHex.ts#L4)
2979
+ [rgbToHex.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/rgbToHex.ts#L4)
2908
2980
 
2909
2981
  ___
2910
2982
 
@@ -2927,7 +2999,7 @@ ___
2927
2999
 
2928
3000
  #### Defined in
2929
3001
 
2930
- [round.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/round.ts#L6)
3002
+ [round.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/round.ts#L6)
2931
3003
 
2932
3004
  ___
2933
3005
 
@@ -2943,7 +3015,7 @@ ___
2943
3015
 
2944
3016
  #### Defined in
2945
3017
 
2946
- [scrollToTop.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/scrollToTop.ts#L4)
3018
+ [scrollToTop.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/scrollToTop.ts#L4)
2947
3019
 
2948
3020
  ___
2949
3021
 
@@ -2965,7 +3037,7 @@ ___
2965
3037
 
2966
3038
  #### Defined in
2967
3039
 
2968
- [setScrollTop.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/setScrollTop.ts#L4)
3040
+ [setScrollTop.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/setScrollTop.ts#L4)
2969
3041
 
2970
3042
  ___
2971
3043
 
@@ -2988,7 +3060,7 @@ ___
2988
3060
 
2989
3061
  #### Defined in
2990
3062
 
2991
- [sleep.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/sleep.ts#L6)
3063
+ [sleep.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/sleep.ts#L6)
2992
3064
 
2993
3065
  ___
2994
3066
 
@@ -3017,7 +3089,7 @@ ___
3017
3089
 
3018
3090
  #### Defined in
3019
3091
 
3020
- [splitArray.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/splitArray.ts#L4)
3092
+ [splitArray.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/splitArray.ts#L4)
3021
3093
 
3022
3094
  ___
3023
3095
 
@@ -3040,7 +3112,7 @@ ___
3040
3112
 
3041
3113
  #### Defined in
3042
3114
 
3043
- [stringTrim.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/stringTrim.ts#L6)
3115
+ [stringTrim.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/stringTrim.ts#L6)
3044
3116
 
3045
3117
  ___
3046
3118
 
@@ -3062,7 +3134,7 @@ ___
3062
3134
 
3063
3135
  #### Defined in
3064
3136
 
3065
- [stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/a50b6d0/src/stringifyQuery.ts#L7)
3137
+ [stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/c7e0698/src/stringifyQuery.ts#L7)
3066
3138
 
3067
3139
  ___
3068
3140
 
@@ -3086,7 +3158,7 @@ ___
3086
3158
 
3087
3159
  #### Defined in
3088
3160
 
3089
- [stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/stringifyQueryString.ts#L6)
3161
+ [stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/stringifyQueryString.ts#L6)
3090
3162
 
3091
3163
  ___
3092
3164
 
@@ -3130,7 +3202,7 @@ ___
3130
3202
 
3131
3203
  #### Defined in
3132
3204
 
3133
- [throttle.ts:48](https://github.com/daysnap/utils/blob/a50b6d0/src/throttle.ts#L48)
3205
+ [throttle.ts:48](https://github.com/daysnap/utils/blob/c7e0698/src/throttle.ts#L48)
3134
3206
 
3135
3207
  ___
3136
3208
 
@@ -3173,7 +3245,7 @@ ___
3173
3245
 
3174
3246
  #### Defined in
3175
3247
 
3176
- [throttle.ts:5](https://github.com/daysnap/utils/blob/a50b6d0/src/throttle.ts#L5)
3248
+ [throttle.ts:5](https://github.com/daysnap/utils/blob/c7e0698/src/throttle.ts#L5)
3177
3249
 
3178
3250
  ___
3179
3251
 
@@ -3216,7 +3288,7 @@ ___
3216
3288
 
3217
3289
  #### Defined in
3218
3290
 
3219
- [throttle.ts:25](https://github.com/daysnap/utils/blob/a50b6d0/src/throttle.ts#L25)
3291
+ [throttle.ts:25](https://github.com/daysnap/utils/blob/c7e0698/src/throttle.ts#L25)
3220
3292
 
3221
3293
  ___
3222
3294
 
@@ -3238,7 +3310,7 @@ ___
3238
3310
 
3239
3311
  #### Defined in
3240
3312
 
3241
- [toCDB.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/toCDB.ts#L4)
3313
+ [toCDB.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/toCDB.ts#L4)
3242
3314
 
3243
3315
  ___
3244
3316
 
@@ -3260,7 +3332,7 @@ ___
3260
3332
 
3261
3333
  #### Defined in
3262
3334
 
3263
- [toDBC.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/toDBC.ts#L4)
3335
+ [toDBC.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/toDBC.ts#L4)
3264
3336
 
3265
3337
  ___
3266
3338
 
@@ -3284,7 +3356,7 @@ ___
3284
3356
 
3285
3357
  #### Defined in
3286
3358
 
3287
- [typeOf.ts:6](https://github.com/daysnap/utils/blob/a50b6d0/src/typeOf.ts#L6)
3359
+ [typeOf.ts:6](https://github.com/daysnap/utils/blob/c7e0698/src/typeOf.ts#L6)
3288
3360
 
3289
3361
  ___
3290
3362
 
@@ -3313,4 +3385,4 @@ ___
3313
3385
 
3314
3386
  #### Defined in
3315
3387
 
3316
- [withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/a50b6d0/src/withPreventConsecutiveClicks.ts#L4)
3388
+ [withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/c7e0698/src/withPreventConsecutiveClicks.ts#L4)