@daysnap/utils 0.1.21 → 0.1.22

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
@@ -151,6 +151,7 @@
151
151
  - [reserve](modules.md#reserve)
152
152
  - [rgbToHex](modules.md#rgbtohex)
153
153
  - [round](modules.md#round)
154
+ - [roundUpToNearestInteger](modules.md#rounduptonearestinteger)
154
155
  - [scrollToTop](modules.md#scrolltotop)
155
156
  - [setScrollTop](modules.md#setscrolltop)
156
157
  - [sleep](modules.md#sleep)
@@ -189,7 +190,7 @@
189
190
 
190
191
  #### Defined in
191
192
 
192
- [poller.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/poller.ts#L7)
193
+ [poller.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/poller.ts#L7)
193
194
 
194
195
  ## Variables
195
196
 
@@ -208,7 +209,7 @@
208
209
 
209
210
  #### Defined in
210
211
 
211
- [eventBus.ts:38](https://github.com/daysnap/utils/blob/6b0ba36/src/eventBus.ts#L38)
212
+ [eventBus.ts:38](https://github.com/daysnap/utils/blob/fc94354/src/eventBus.ts#L38)
212
213
 
213
214
  ___
214
215
 
@@ -218,7 +219,7 @@ ___
218
219
 
219
220
  #### Defined in
220
221
 
221
- [trap.ts:15](https://github.com/daysnap/utils/blob/6b0ba36/src/trap.ts#L15)
222
+ [trap.ts:15](https://github.com/daysnap/utils/blob/fc94354/src/trap.ts#L15)
222
223
 
223
224
  ## Functions
224
225
 
@@ -256,7 +257,7 @@ res = { '1': '男', '2': '女' }
256
257
 
257
258
  #### Defined in
258
259
 
259
- [ato.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/ato.ts#L12)
260
+ [ato.ts:12](https://github.com/daysnap/utils/blob/fc94354/src/ato.ts#L12)
260
261
 
261
262
  ▸ **ato**<`T`, `K`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `any`\>
262
263
 
@@ -281,7 +282,7 @@ res = { '1': '男', '2': '女' }
281
282
 
282
283
  #### Defined in
283
284
 
284
- [ato.ts:16](https://github.com/daysnap/utils/blob/6b0ba36/src/ato.ts#L16)
285
+ [ato.ts:16](https://github.com/daysnap/utils/blob/fc94354/src/ato.ts#L16)
285
286
 
286
287
  ___
287
288
 
@@ -301,7 +302,7 @@ ___
301
302
 
302
303
  #### Defined in
303
304
 
304
- [decode.ts:41](https://github.com/daysnap/utils/blob/6b0ba36/src/decode.ts#L41)
305
+ [decode.ts:41](https://github.com/daysnap/utils/blob/fc94354/src/decode.ts#L41)
305
306
 
306
307
  ___
307
308
 
@@ -324,7 +325,7 @@ base64 转 blob
324
325
 
325
326
  #### Defined in
326
327
 
327
- [base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/base64ToBlob.ts#L6)
328
+ [base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/base64ToBlob.ts#L6)
328
329
 
329
330
  ___
330
331
 
@@ -346,7 +347,7 @@ blob 转 base64
346
347
 
347
348
  #### Defined in
348
349
 
349
- [blobToBase64.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/blobToBase64.ts#L4)
350
+ [blobToBase64.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/blobToBase64.ts#L4)
350
351
 
351
352
  ___
352
353
 
@@ -366,7 +367,7 @@ ___
366
367
 
367
368
  #### Defined in
368
369
 
369
- [decode.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/decode.ts#L8)
370
+ [decode.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/decode.ts#L8)
370
371
 
371
372
  ___
372
373
 
@@ -407,7 +408,7 @@ ___
407
408
 
408
409
  #### Defined in
409
410
 
410
- [cached.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/cached.ts#L5)
411
+ [cached.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/cached.ts#L5)
411
412
 
412
413
  ___
413
414
 
@@ -430,7 +431,7 @@ camelCase('hello-world') => helloWorld
430
431
 
431
432
  #### Defined in
432
433
 
433
- [camelCase.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/camelCase.ts#L5)
434
+ [camelCase.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/camelCase.ts#L5)
434
435
 
435
436
  ___
436
437
 
@@ -454,7 +455,7 @@ canvas 转 blob 文件
454
455
 
455
456
  #### Defined in
456
457
 
457
- [canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/canvasToBlob.ts#L4)
458
+ [canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/canvasToBlob.ts#L4)
458
459
 
459
460
  ___
460
461
 
@@ -477,7 +478,7 @@ capitalize('hello world') => Hello world
477
478
 
478
479
  #### Defined in
479
480
 
480
- [capitalize.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/capitalize.ts#L5)
481
+ [capitalize.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/capitalize.ts#L5)
481
482
 
482
483
  ___
483
484
 
@@ -502,7 +503,7 @@ ___
502
503
 
503
504
  #### Defined in
504
505
 
505
- [chooseMedia.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/chooseMedia.ts#L5)
506
+ [chooseMedia.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/chooseMedia.ts#L5)
506
507
 
507
508
  ___
508
509
 
@@ -526,7 +527,7 @@ ___
526
527
 
527
528
  #### Defined in
528
529
 
529
- [clamp.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/clamp.ts#L7)
530
+ [clamp.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/clamp.ts#L7)
530
531
 
531
532
  ___
532
533
 
@@ -554,7 +555,7 @@ ___
554
555
 
555
556
  #### Defined in
556
557
 
557
- [clone.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/clone.ts#L8)
558
+ [clone.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/clone.ts#L8)
558
559
 
559
560
  ___
560
561
 
@@ -582,7 +583,7 @@ ___
582
583
 
583
584
  #### Defined in
584
585
 
585
- [cloneSimple.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/cloneSimple.ts#L7)
586
+ [cloneSimple.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/cloneSimple.ts#L7)
586
587
 
587
588
  ___
588
589
 
@@ -604,7 +605,7 @@ ___
604
605
 
605
606
  #### Defined in
606
607
 
607
- [createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/createHexColorByHash.ts#L4)
608
+ [createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/createHexColorByHash.ts#L4)
608
609
 
609
610
  ___
610
611
 
@@ -630,7 +631,7 @@ ___
630
631
 
631
632
  #### Defined in
632
633
 
633
- [compareVersion.ts:9](https://github.com/daysnap/utils/blob/6b0ba36/src/compareVersion.ts#L9)
634
+ [compareVersion.ts:9](https://github.com/daysnap/utils/blob/fc94354/src/compareVersion.ts#L9)
634
635
 
635
636
  ___
636
637
 
@@ -653,7 +654,7 @@ ___
653
654
 
654
655
  #### Defined in
655
656
 
656
- [compressImage.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/compressImage.ts#L4)
657
+ [compressImage.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/compressImage.ts#L4)
657
658
 
658
659
  ___
659
660
 
@@ -675,7 +676,7 @@ ___
675
676
 
676
677
  #### Defined in
677
678
 
678
- [crToBr.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/crToBr.ts#L4)
679
+ [crToBr.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/crToBr.ts#L4)
679
680
 
680
681
  ___
681
682
 
@@ -703,7 +704,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
703
704
 
704
705
  #### Defined in
705
706
 
706
- [createFactory.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/createFactory.ts#L4)
707
+ [createFactory.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/createFactory.ts#L4)
707
708
 
708
709
  ___
709
710
 
@@ -741,7 +742,7 @@ ___
741
742
 
742
743
  #### Defined in
743
744
 
744
- [createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/6b0ba36/src/createLinearFunction.ts#L9)
745
+ [createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/fc94354/src/createLinearFunction.ts#L9)
745
746
 
746
747
  ___
747
748
 
@@ -773,7 +774,7 @@ ___
773
774
 
774
775
  #### Defined in
775
776
 
776
- [trap.ts:49](https://github.com/daysnap/utils/blob/6b0ba36/src/trap.ts#L49)
777
+ [trap.ts:49](https://github.com/daysnap/utils/blob/fc94354/src/trap.ts#L49)
777
778
 
778
779
  ___
779
780
 
@@ -836,7 +837,7 @@ fn() 执行的时候就会执行showLoading
836
837
 
837
838
  #### Defined in
838
839
 
839
- [createWithLoading.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/createWithLoading.ts#L11)
840
+ [createWithLoading.ts:11](https://github.com/daysnap/utils/blob/fc94354/src/createWithLoading.ts#L11)
840
841
 
841
842
  ___
842
843
 
@@ -858,7 +859,7 @@ ___
858
859
 
859
860
  #### Defined in
860
861
 
861
- [crlfToBr.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/crlfToBr.ts#L4)
862
+ [crlfToBr.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/crlfToBr.ts#L4)
862
863
 
863
864
  ___
864
865
 
@@ -901,7 +902,7 @@ ___
901
902
 
902
903
  #### Defined in
903
904
 
904
- [debounce.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/debounce.ts#L5)
905
+ [debounce.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/debounce.ts#L5)
905
906
 
906
907
  ___
907
908
 
@@ -925,7 +926,7 @@ ___
925
926
 
926
927
  #### Defined in
927
928
 
928
- [downloadFile.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/downloadFile.ts#L4)
929
+ [downloadFile.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/downloadFile.ts#L4)
929
930
 
930
931
  ___
931
932
 
@@ -954,7 +955,7 @@ ___
954
955
 
955
956
  #### Defined in
956
957
 
957
- [each.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/each.ts#L4)
958
+ [each.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/each.ts#L4)
958
959
 
959
960
  ▸ **each**<`T`\>(`data`, `callback`): `void`
960
961
 
@@ -977,7 +978,7 @@ ___
977
978
 
978
979
  #### Defined in
979
980
 
980
- [each.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/each.ts#L8)
981
+ [each.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/each.ts#L8)
981
982
 
982
983
  ___
983
984
 
@@ -995,7 +996,7 @@ ___
995
996
 
996
997
  #### Defined in
997
998
 
998
- [exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/exitFullscreen.ts#L6)
999
+ [exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/exitFullscreen.ts#L6)
999
1000
 
1000
1001
  ___
1001
1002
 
@@ -1024,7 +1025,7 @@ ___
1024
1025
 
1025
1026
  #### Defined in
1026
1027
 
1027
- [storage/factory.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/storage/factory.ts#L11)
1028
+ [storage/factory.ts:11](https://github.com/daysnap/utils/blob/fc94354/src/storage/factory.ts#L11)
1028
1029
 
1029
1030
  ___
1030
1031
 
@@ -1046,7 +1047,7 @@ ___
1046
1047
 
1047
1048
  #### Defined in
1048
1049
 
1049
- [filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/filterBankCardNo.ts#L4)
1050
+ [filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/filterBankCardNo.ts#L4)
1050
1051
 
1051
1052
  ___
1052
1053
 
@@ -1076,7 +1077,7 @@ ___
1076
1077
 
1077
1078
  #### Defined in
1078
1079
 
1079
- [crlfToBr.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/crlfToBr.ts#L12)
1080
+ [crlfToBr.ts:12](https://github.com/daysnap/utils/blob/fc94354/src/crlfToBr.ts#L12)
1080
1081
 
1081
1082
  ___
1082
1083
 
@@ -1098,7 +1099,7 @@ ___
1098
1099
 
1099
1100
  #### Defined in
1100
1101
 
1101
- [filterEmoji.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/filterEmoji.ts#L4)
1102
+ [filterEmoji.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/filterEmoji.ts#L4)
1102
1103
 
1103
1104
  ___
1104
1105
 
@@ -1121,7 +1122,7 @@ ___
1121
1122
 
1122
1123
  #### Defined in
1123
1124
 
1124
- [filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/filterEmptyValue.ts#L12)
1125
+ [filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/fc94354/src/filterEmptyValue.ts#L12)
1125
1126
 
1126
1127
  ___
1127
1128
 
@@ -1144,7 +1145,7 @@ ___
1144
1145
 
1145
1146
  #### Defined in
1146
1147
 
1147
- [filterIdCard.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/filterIdCard.ts#L5)
1148
+ [filterIdCard.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/filterIdCard.ts#L5)
1148
1149
 
1149
1150
  ___
1150
1151
 
@@ -1166,7 +1167,7 @@ ___
1166
1167
 
1167
1168
  #### Defined in
1168
1169
 
1169
- [filterName.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/filterName.ts#L4)
1170
+ [filterName.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/filterName.ts#L4)
1170
1171
 
1171
1172
  ___
1172
1173
 
@@ -1191,7 +1192,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
1191
1192
 
1192
1193
  #### Defined in
1193
1194
 
1194
- [filterPhone.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/filterPhone.ts#L6)
1195
+ [filterPhone.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/filterPhone.ts#L6)
1195
1196
 
1196
1197
  ___
1197
1198
 
@@ -1218,7 +1219,7 @@ str = '131****8888'
1218
1219
 
1219
1220
  #### Defined in
1220
1221
 
1221
- [filterString.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/filterString.ts#L6)
1222
+ [filterString.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/filterString.ts#L6)
1222
1223
 
1223
1224
  ___
1224
1225
 
@@ -1241,7 +1242,7 @@ ___
1241
1242
 
1242
1243
  #### Defined in
1243
1244
 
1244
- [formatAmount.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/formatAmount.ts#L4)
1245
+ [formatAmount.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/formatAmount.ts#L4)
1245
1246
 
1246
1247
  ___
1247
1248
 
@@ -1265,7 +1266,7 @@ ___
1265
1266
 
1266
1267
  #### Defined in
1267
1268
 
1268
- [formatDate.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/formatDate.ts#L7)
1269
+ [formatDate.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/formatDate.ts#L7)
1269
1270
 
1270
1271
  ___
1271
1272
 
@@ -1296,7 +1297,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
1296
1297
 
1297
1298
  #### Defined in
1298
1299
 
1299
- [formatDateStr.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/formatDateStr.ts#L6)
1300
+ [formatDateStr.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/formatDateStr.ts#L6)
1300
1301
 
1301
1302
  ___
1302
1303
 
@@ -1316,7 +1317,7 @@ ___
1316
1317
 
1317
1318
  #### Defined in
1318
1319
 
1319
- [formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/formartDateToZN.ts#L4)
1320
+ [formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/formartDateToZN.ts#L4)
1320
1321
 
1321
1322
  ___
1322
1323
 
@@ -1339,7 +1340,7 @@ ___
1339
1340
 
1340
1341
  #### Defined in
1341
1342
 
1342
- [formatFileSize.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/formatFileSize.ts#L4)
1343
+ [formatFileSize.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/formatFileSize.ts#L4)
1343
1344
 
1344
1345
  ___
1345
1346
 
@@ -1362,7 +1363,7 @@ yyyyMMdd -> yyyy-MM-dd
1362
1363
 
1363
1364
  #### Defined in
1364
1365
 
1365
- [formatGapDate.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/formatGapDate.ts#L4)
1366
+ [formatGapDate.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/formatGapDate.ts#L4)
1366
1367
 
1367
1368
  ___
1368
1369
 
@@ -1387,7 +1388,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
1387
1388
 
1388
1389
  #### Defined in
1389
1390
 
1390
- [formatMessage.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/formatMessage.ts#L11)
1391
+ [formatMessage.ts:11](https://github.com/daysnap/utils/blob/fc94354/src/formatMessage.ts#L11)
1391
1392
 
1392
1393
  ___
1393
1394
 
@@ -1419,7 +1420,7 @@ rest = { xxx: 1 }
1419
1420
 
1420
1421
  #### Defined in
1421
1422
 
1422
- [formatPathParams.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/formatPathParams.ts#L8)
1423
+ [formatPathParams.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/formatPathParams.ts#L8)
1423
1424
 
1424
1425
  ___
1425
1426
 
@@ -1441,7 +1442,7 @@ ___
1441
1442
 
1442
1443
  #### Defined in
1443
1444
 
1444
- [getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getBlobByUrl.ts#L4)
1445
+ [getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/getBlobByUrl.ts#L4)
1445
1446
 
1446
1447
  ___
1447
1448
 
@@ -1464,7 +1465,7 @@ ___
1464
1465
 
1465
1466
  #### Defined in
1466
1467
 
1467
- [storage/index.ts:10](https://github.com/daysnap/utils/blob/6b0ba36/src/storage/index.ts#L10)
1468
+ [storage/index.ts:10](https://github.com/daysnap/utils/blob/fc94354/src/storage/index.ts#L10)
1468
1469
 
1469
1470
  ___
1470
1471
 
@@ -1487,7 +1488,7 @@ ___
1487
1488
 
1488
1489
  #### Defined in
1489
1490
 
1490
- [getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/getDateBoundsByMonths.ts#L8)
1491
+ [getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/getDateBoundsByMonths.ts#L8)
1491
1492
 
1492
1493
  ▸ **getDateBoundsByMonths**(`monthsCount`, `date`, `fmt`): [`string`, `string`]
1493
1494
 
@@ -1505,7 +1506,7 @@ ___
1505
1506
 
1506
1507
  #### Defined in
1507
1508
 
1508
- [getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/getDateBoundsByMonths.ts#L12)
1509
+ [getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/fc94354/src/getDateBoundsByMonths.ts#L12)
1509
1510
 
1510
1511
  ___
1511
1512
 
@@ -1527,7 +1528,7 @@ ___
1527
1528
 
1528
1529
  #### Defined in
1529
1530
 
1530
- [getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getDayMillisecond.ts#L4)
1531
+ [getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/getDayMillisecond.ts#L4)
1531
1532
 
1532
1533
  ___
1533
1534
 
@@ -1550,7 +1551,7 @@ ___
1550
1551
 
1551
1552
  #### Defined in
1552
1553
 
1553
- [getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getDaysOfMonth.ts#L4)
1554
+ [getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/getDaysOfMonth.ts#L4)
1554
1555
 
1555
1556
  ___
1556
1557
 
@@ -1573,7 +1574,7 @@ ___
1573
1574
 
1574
1575
  #### Defined in
1575
1576
 
1576
- [getImageInfo.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getImageInfo.ts#L4)
1577
+ [getImageInfo.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/getImageInfo.ts#L4)
1577
1578
 
1578
1579
  ___
1579
1580
 
@@ -1596,7 +1597,7 @@ ___
1596
1597
 
1597
1598
  #### Defined in
1598
1599
 
1599
- [storage/index.ts:10](https://github.com/daysnap/utils/blob/6b0ba36/src/storage/index.ts#L10)
1600
+ [storage/index.ts:10](https://github.com/daysnap/utils/blob/fc94354/src/storage/index.ts#L10)
1600
1601
 
1601
1602
  ___
1602
1603
 
@@ -1618,7 +1619,7 @@ ___
1618
1619
 
1619
1620
  #### Defined in
1620
1621
 
1621
- [getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getMonthBounds.ts#L7)
1622
+ [getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/getMonthBounds.ts#L7)
1622
1623
 
1623
1624
  ▸ **getMonthBounds**(`value`, `fmt`): [`string`, `string`]
1624
1625
 
@@ -1635,7 +1636,7 @@ ___
1635
1636
 
1636
1637
  #### Defined in
1637
1638
 
1638
- [getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/getMonthBounds.ts#L8)
1639
+ [getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/getMonthBounds.ts#L8)
1639
1640
 
1640
1641
  ___
1641
1642
 
@@ -1658,7 +1659,7 @@ ___
1658
1659
 
1659
1660
  #### Defined in
1660
1661
 
1661
- [getRandom.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getRandom.ts#L7)
1662
+ [getRandom.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/getRandom.ts#L7)
1662
1663
 
1663
1664
  ___
1664
1665
 
@@ -1674,7 +1675,7 @@ ___
1674
1675
 
1675
1676
  #### Defined in
1676
1677
 
1677
- [getRandomColor.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getRandomColor.ts#L4)
1678
+ [getRandomColor.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/getRandomColor.ts#L4)
1678
1679
 
1679
1680
  ___
1680
1681
 
@@ -1696,7 +1697,7 @@ ___
1696
1697
 
1697
1698
  #### Defined in
1698
1699
 
1699
- [getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getRandomNumber.ts#L7)
1700
+ [getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/getRandomNumber.ts#L7)
1700
1701
 
1701
1702
  ___
1702
1703
 
@@ -1719,7 +1720,7 @@ ___
1719
1720
 
1720
1721
  #### Defined in
1721
1722
 
1722
- [getRangeDate.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getRangeDate.ts#L7)
1723
+ [getRangeDate.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/getRangeDate.ts#L7)
1723
1724
 
1724
1725
  ▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
1725
1726
 
@@ -1737,7 +1738,7 @@ ___
1737
1738
 
1738
1739
  #### Defined in
1739
1740
 
1740
- [getRangeDate.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/getRangeDate.ts#L11)
1741
+ [getRangeDate.ts:11](https://github.com/daysnap/utils/blob/fc94354/src/getRangeDate.ts#L11)
1741
1742
 
1742
1743
  ___
1743
1744
 
@@ -1753,7 +1754,7 @@ ___
1753
1754
 
1754
1755
  #### Defined in
1755
1756
 
1756
- [getScrollTop.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getScrollTop.ts#L4)
1757
+ [getScrollTop.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/getScrollTop.ts#L4)
1757
1758
 
1758
1759
  ___
1759
1760
 
@@ -1775,7 +1776,7 @@ ___
1775
1776
 
1776
1777
  #### Defined in
1777
1778
 
1778
- [getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getVideoInfo.ts#L4)
1779
+ [getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/getVideoInfo.ts#L4)
1779
1780
 
1780
1781
  ___
1781
1782
 
@@ -1798,7 +1799,7 @@ ___
1798
1799
 
1799
1800
  #### Defined in
1800
1801
 
1801
- [getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getWeekBounds.ts#L7)
1802
+ [getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/getWeekBounds.ts#L7)
1802
1803
 
1803
1804
  ▸ **getWeekBounds**(`value`, `sundayIsFirstDay`, `fmt`): [`string`, `string`]
1804
1805
 
@@ -1816,7 +1817,7 @@ ___
1816
1817
 
1817
1818
  #### Defined in
1818
1819
 
1819
- [getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/getWeekBounds.ts#L11)
1820
+ [getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/fc94354/src/getWeekBounds.ts#L11)
1820
1821
 
1821
1822
  ___
1822
1823
 
@@ -1839,7 +1840,7 @@ ___
1839
1840
 
1840
1841
  #### Defined in
1841
1842
 
1842
- [getWeekday.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/getWeekday.ts#L6)
1843
+ [getWeekday.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/getWeekday.ts#L6)
1843
1844
 
1844
1845
  ___
1845
1846
 
@@ -1855,7 +1856,7 @@ ___
1855
1856
 
1856
1857
  #### Defined in
1857
1858
 
1858
- [inBrowser.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/inBrowser.ts#L4)
1859
+ [inBrowser.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/inBrowser.ts#L4)
1859
1860
 
1860
1861
  ___
1861
1862
 
@@ -1877,7 +1878,7 @@ ___
1877
1878
 
1878
1879
  #### Defined in
1879
1880
 
1880
- [insertLink.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/insertLink.ts#L4)
1881
+ [insertLink.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/insertLink.ts#L4)
1881
1882
 
1882
1883
  ▸ **insertLink**(`href`, `callback`): `void`
1883
1884
 
@@ -1894,7 +1895,7 @@ ___
1894
1895
 
1895
1896
  #### Defined in
1896
1897
 
1897
- [insertLink.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/insertLink.ts#L5)
1898
+ [insertLink.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/insertLink.ts#L5)
1898
1899
 
1899
1900
  ___
1900
1901
 
@@ -1916,7 +1917,7 @@ ___
1916
1917
 
1917
1918
  #### Defined in
1918
1919
 
1919
- [insertScript.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/insertScript.ts#L4)
1920
+ [insertScript.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/insertScript.ts#L4)
1920
1921
 
1921
1922
  ▸ **insertScript**(`src`, `callback`): `void`
1922
1923
 
@@ -1933,7 +1934,7 @@ ___
1933
1934
 
1934
1935
  #### Defined in
1935
1936
 
1936
- [insertScript.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/insertScript.ts#L5)
1937
+ [insertScript.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/insertScript.ts#L5)
1937
1938
 
1938
1939
  ___
1939
1940
 
@@ -1955,7 +1956,7 @@ ___
1955
1956
 
1956
1957
  #### Defined in
1957
1958
 
1958
- [insertStyle.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/insertStyle.ts#L4)
1959
+ [insertStyle.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/insertStyle.ts#L4)
1959
1960
 
1960
1961
  ___
1961
1962
 
@@ -1984,7 +1985,7 @@ isAmount('1.123') => false
1984
1985
 
1985
1986
  #### Defined in
1986
1987
 
1987
- [isAmount.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/isAmount.ts#L11)
1988
+ [isAmount.ts:11](https://github.com/daysnap/utils/blob/fc94354/src/isAmount.ts#L11)
1988
1989
 
1989
1990
  ___
1990
1991
 
@@ -2000,7 +2001,7 @@ ___
2000
2001
 
2001
2002
  #### Defined in
2002
2003
 
2003
- [isAndroid.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isAndroid.ts#L4)
2004
+ [isAndroid.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isAndroid.ts#L4)
2004
2005
 
2005
2006
  ___
2006
2007
 
@@ -2024,7 +2025,7 @@ val is any[]
2024
2025
 
2025
2026
  #### Defined in
2026
2027
 
2027
- [isArray.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isArray.ts#L6)
2028
+ [isArray.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/isArray.ts#L6)
2028
2029
 
2029
2030
  ___
2030
2031
 
@@ -2046,7 +2047,7 @@ val is boolean
2046
2047
 
2047
2048
  #### Defined in
2048
2049
 
2049
- [isBoolean.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isBoolean.ts#L5)
2050
+ [isBoolean.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/isBoolean.ts#L5)
2050
2051
 
2051
2052
  ___
2052
2053
 
@@ -2068,7 +2069,7 @@ ___
2068
2069
 
2069
2070
  #### Defined in
2070
2071
 
2071
- [isChinese.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isChinese.ts#L4)
2072
+ [isChinese.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isChinese.ts#L4)
2072
2073
 
2073
2074
  ___
2074
2075
 
@@ -2090,7 +2091,7 @@ val is Date
2090
2091
 
2091
2092
  #### Defined in
2092
2093
 
2093
- [isDate.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isDate.ts#L4)
2094
+ [isDate.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isDate.ts#L4)
2094
2095
 
2095
2096
  ___
2096
2097
 
@@ -2112,7 +2113,7 @@ ___
2112
2113
 
2113
2114
  #### Defined in
2114
2115
 
2115
- [isEmail.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isEmail.ts#L4)
2116
+ [isEmail.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isEmail.ts#L4)
2116
2117
 
2117
2118
  ___
2118
2119
 
@@ -2134,7 +2135,7 @@ ___
2134
2135
 
2135
2136
  #### Defined in
2136
2137
 
2137
- [isEmpty.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isEmpty.ts#L6)
2138
+ [isEmpty.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/isEmpty.ts#L6)
2138
2139
 
2139
2140
  ___
2140
2141
 
@@ -2156,7 +2157,7 @@ ___
2156
2157
 
2157
2158
  #### Defined in
2158
2159
 
2159
- [isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isEmptyArray.ts#L6)
2160
+ [isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/isEmptyArray.ts#L6)
2160
2161
 
2161
2162
  ___
2162
2163
 
@@ -2178,7 +2179,7 @@ ___
2178
2179
 
2179
2180
  #### Defined in
2180
2181
 
2181
- [isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isEmptyObject.ts#L5)
2182
+ [isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/isEmptyObject.ts#L5)
2182
2183
 
2183
2184
  ___
2184
2185
 
@@ -2200,7 +2201,7 @@ val is Error
2200
2201
 
2201
2202
  #### Defined in
2202
2203
 
2203
- [isError.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isError.ts#L4)
2204
+ [isError.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isError.ts#L4)
2204
2205
 
2205
2206
  ___
2206
2207
 
@@ -2222,7 +2223,7 @@ val is Function
2222
2223
 
2223
2224
  #### Defined in
2224
2225
 
2225
- [isFunction.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isFunction.ts#L4)
2226
+ [isFunction.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isFunction.ts#L4)
2226
2227
 
2227
2228
  ___
2228
2229
 
@@ -2240,7 +2241,7 @@ ___
2240
2241
 
2241
2242
  #### Defined in
2242
2243
 
2243
- [isIE.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isIE.ts#L6)
2244
+ [isIE.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/isIE.ts#L6)
2244
2245
 
2245
2246
  ___
2246
2247
 
@@ -2256,7 +2257,7 @@ ___
2256
2257
 
2257
2258
  #### Defined in
2258
2259
 
2259
- [isIOS.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isIOS.ts#L4)
2260
+ [isIOS.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isIOS.ts#L4)
2260
2261
 
2261
2262
  ___
2262
2263
 
@@ -2278,7 +2279,7 @@ ___
2278
2279
 
2279
2280
  #### Defined in
2280
2281
 
2281
- [isIdCard.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isIdCard.ts#L4)
2282
+ [isIdCard.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isIdCard.ts#L4)
2282
2283
 
2283
2284
  ___
2284
2285
 
@@ -2300,7 +2301,7 @@ ___
2300
2301
 
2301
2302
  #### Defined in
2302
2303
 
2303
- [isJSONString.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/isJSONString.ts#L7)
2304
+ [isJSONString.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/isJSONString.ts#L7)
2304
2305
 
2305
2306
  ___
2306
2307
 
@@ -2322,7 +2323,7 @@ ___
2322
2323
 
2323
2324
  #### Defined in
2324
2325
 
2325
- [isLan.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isLan.ts#L5)
2326
+ [isLan.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/isLan.ts#L5)
2326
2327
 
2327
2328
  ___
2328
2329
 
@@ -2345,7 +2346,7 @@ ___
2345
2346
 
2346
2347
  #### Defined in
2347
2348
 
2348
- [isLeapYear.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isLeapYear.ts#L5)
2349
+ [isLeapYear.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/isLeapYear.ts#L5)
2349
2350
 
2350
2351
  ___
2351
2352
 
@@ -2367,7 +2368,7 @@ ___
2367
2368
 
2368
2369
  #### Defined in
2369
2370
 
2370
- [isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isLicenseCode.ts#L5)
2371
+ [isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/isLicenseCode.ts#L5)
2371
2372
 
2372
2373
  ___
2373
2374
 
@@ -2383,7 +2384,7 @@ ___
2383
2384
 
2384
2385
  #### Defined in
2385
2386
 
2386
- [isMobile.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isMobile.ts#L4)
2387
+ [isMobile.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isMobile.ts#L4)
2387
2388
 
2388
2389
  ___
2389
2390
 
@@ -2406,7 +2407,7 @@ ___
2406
2407
 
2407
2408
  #### Defined in
2408
2409
 
2409
- [isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/isNativeFunction.ts#L7)
2410
+ [isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/isNativeFunction.ts#L7)
2410
2411
 
2411
2412
  ___
2412
2413
 
@@ -2428,7 +2429,7 @@ val is null
2428
2429
 
2429
2430
  #### Defined in
2430
2431
 
2431
- [isNull.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isNull.ts#L4)
2432
+ [isNull.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isNull.ts#L4)
2432
2433
 
2433
2434
  ___
2434
2435
 
@@ -2450,7 +2451,7 @@ val is number
2450
2451
 
2451
2452
  #### Defined in
2452
2453
 
2453
- [isNumber.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isNumber.ts#L5)
2454
+ [isNumber.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/isNumber.ts#L5)
2454
2455
 
2455
2456
  ___
2456
2457
 
@@ -2472,7 +2473,7 @@ val is Record<string, any\>
2472
2473
 
2473
2474
  #### Defined in
2474
2475
 
2475
- [isObject.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isObject.ts#L4)
2476
+ [isObject.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isObject.ts#L4)
2476
2477
 
2477
2478
  ___
2478
2479
 
@@ -2494,7 +2495,7 @@ ___
2494
2495
 
2495
2496
  #### Defined in
2496
2497
 
2497
- [isPhone.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isPhone.ts#L4)
2498
+ [isPhone.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isPhone.ts#L4)
2498
2499
 
2499
2500
  ___
2500
2501
 
@@ -2522,7 +2523,7 @@ val is Promise<T\>
2522
2523
 
2523
2524
  #### Defined in
2524
2525
 
2525
- [isPromise.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isPromise.ts#L4)
2526
+ [isPromise.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isPromise.ts#L4)
2526
2527
 
2527
2528
  ___
2528
2529
 
@@ -2544,7 +2545,7 @@ val is RegExp
2544
2545
 
2545
2546
  #### Defined in
2546
2547
 
2547
- [isRegExp.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isRegExp.ts#L4)
2548
+ [isRegExp.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isRegExp.ts#L4)
2548
2549
 
2549
2550
  ___
2550
2551
 
@@ -2566,7 +2567,7 @@ val is string
2566
2567
 
2567
2568
  #### Defined in
2568
2569
 
2569
- [isString.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isString.ts#L4)
2570
+ [isString.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isString.ts#L4)
2570
2571
 
2571
2572
  ___
2572
2573
 
@@ -2595,7 +2596,7 @@ val is T
2595
2596
 
2596
2597
  #### Defined in
2597
2598
 
2598
- [isType.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isType.ts#L4)
2599
+ [isType.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isType.ts#L4)
2599
2600
 
2600
2601
  ___
2601
2602
 
@@ -2617,7 +2618,7 @@ val is undefined
2617
2618
 
2618
2619
  #### Defined in
2619
2620
 
2620
- [isUndefined.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isUndefined.ts#L4)
2621
+ [isUndefined.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isUndefined.ts#L4)
2621
2622
 
2622
2623
  ___
2623
2624
 
@@ -2661,7 +2662,7 @@ ___
2661
2662
 
2662
2663
  #### Defined in
2663
2664
 
2664
- [isValidDate.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isValidDate.ts#L6)
2665
+ [isValidDate.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/isValidDate.ts#L6)
2665
2666
 
2666
2667
  ___
2667
2668
 
@@ -2677,7 +2678,7 @@ ___
2677
2678
 
2678
2679
  #### Defined in
2679
2680
 
2680
- [isWeChat.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isWeChat.ts#L4)
2681
+ [isWeChat.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/isWeChat.ts#L4)
2681
2682
 
2682
2683
  ___
2683
2684
 
@@ -2694,7 +2695,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
2694
2695
 
2695
2696
  #### Defined in
2696
2697
 
2697
- [isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isWeChatMiniProgram.ts#L5)
2698
+ [isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/isWeChatMiniProgram.ts#L5)
2698
2699
 
2699
2700
  ___
2700
2701
 
@@ -2718,7 +2719,7 @@ ___
2718
2719
 
2719
2720
  #### Defined in
2720
2721
 
2721
- [isWeChat.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/isWeChat.ts#L12)
2722
+ [isWeChat.ts:12](https://github.com/daysnap/utils/blob/fc94354/src/isWeChat.ts#L12)
2722
2723
 
2723
2724
  ___
2724
2725
 
@@ -2740,7 +2741,7 @@ val is Window
2740
2741
 
2741
2742
  #### Defined in
2742
2743
 
2743
- [isWindow.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isWindow.ts#L5)
2744
+ [isWindow.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/isWindow.ts#L5)
2744
2745
 
2745
2746
  ___
2746
2747
 
@@ -2763,7 +2764,7 @@ kebabCase('helloWorld') => hello-world
2763
2764
 
2764
2765
  #### Defined in
2765
2766
 
2766
- [kebabCase.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/kebabCase.ts#L5)
2767
+ [kebabCase.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/kebabCase.ts#L5)
2767
2768
 
2768
2769
  ___
2769
2770
 
@@ -2785,7 +2786,7 @@ ___
2785
2786
 
2786
2787
  #### Defined in
2787
2788
 
2788
- [lfToBr.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/lfToBr.ts#L4)
2789
+ [lfToBr.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/lfToBr.ts#L4)
2789
2790
 
2790
2791
  ___
2791
2792
 
@@ -2807,7 +2808,7 @@ list 生成器,快速生成数据
2807
2808
 
2808
2809
  #### Defined in
2809
2810
 
2810
- [listGenerator.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/listGenerator.ts#L5)
2811
+ [listGenerator.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/listGenerator.ts#L5)
2811
2812
 
2812
2813
  ▸ **listGenerator**<`T`\>(`length`, `fn`): `T`[]
2813
2814
 
@@ -2830,7 +2831,7 @@ list 生成器,快速生成数据
2830
2831
 
2831
2832
  #### Defined in
2832
2833
 
2833
- [listGenerator.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/listGenerator.ts#L6)
2834
+ [listGenerator.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/listGenerator.ts#L6)
2834
2835
 
2835
2836
  ___
2836
2837
 
@@ -2850,7 +2851,7 @@ ___
2850
2851
 
2851
2852
  #### Defined in
2852
2853
 
2853
- [makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/6b0ba36/src/makePhoneCall.ts#L1)
2854
+ [makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/fc94354/src/makePhoneCall.ts#L1)
2854
2855
 
2855
2856
  ___
2856
2857
 
@@ -2875,7 +2876,7 @@ ___
2875
2876
 
2876
2877
  #### Defined in
2877
2878
 
2878
- [mousewheel.ts:22](https://github.com/daysnap/utils/blob/6b0ba36/src/mousewheel.ts#L22)
2879
+ [mousewheel.ts:22](https://github.com/daysnap/utils/blob/fc94354/src/mousewheel.ts#L22)
2879
2880
 
2880
2881
  ___
2881
2882
 
@@ -2891,7 +2892,7 @@ ___
2891
2892
 
2892
2893
  #### Defined in
2893
2894
 
2894
- [nf.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/nf.ts#L4)
2895
+ [nf.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/nf.ts#L4)
2895
2896
 
2896
2897
  ___
2897
2898
 
@@ -2915,7 +2916,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
2915
2916
 
2916
2917
  #### Defined in
2917
2918
 
2918
- [normalizeDate.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/normalizeDate.ts#L8)
2919
+ [normalizeDate.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/normalizeDate.ts#L8)
2919
2920
 
2920
2921
  ___
2921
2922
 
@@ -2937,7 +2938,7 @@ ___
2937
2938
 
2938
2939
  #### Defined in
2939
2940
 
2940
- [normalizePath.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/normalizePath.ts#L4)
2941
+ [normalizePath.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/normalizePath.ts#L4)
2941
2942
 
2942
2943
  ___
2943
2944
 
@@ -2967,7 +2968,7 @@ ___
2967
2968
 
2968
2969
  #### Defined in
2969
2970
 
2970
- [omit.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/omit.ts#L4)
2971
+ [omit.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/omit.ts#L4)
2971
2972
 
2972
2973
  ___
2973
2974
 
@@ -2991,7 +2992,7 @@ ___
2991
2992
 
2992
2993
  #### Defined in
2993
2994
 
2994
- [padding.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/padding.ts#L7)
2995
+ [padding.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/padding.ts#L7)
2995
2996
 
2996
2997
  ___
2997
2998
 
@@ -3017,7 +3018,7 @@ ___
3017
3018
 
3018
3019
  #### Defined in
3019
3020
 
3020
- [parseDate.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/parseDate.ts#L5)
3021
+ [parseDate.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/parseDate.ts#L5)
3021
3022
 
3022
3023
  ___
3023
3024
 
@@ -3043,7 +3044,7 @@ ___
3043
3044
 
3044
3045
  #### Defined in
3045
3046
 
3046
- parseDecimalString.ts:5
3047
+ [parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/parseDecimalString.ts#L5)
3047
3048
 
3048
3049
  ___
3049
3050
 
@@ -3066,7 +3067,7 @@ ___
3066
3067
 
3067
3068
  #### Defined in
3068
3069
 
3069
- [parseError.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/parseError.ts#L8)
3070
+ [parseError.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/parseError.ts#L8)
3070
3071
 
3071
3072
  ___
3072
3073
 
@@ -3091,7 +3092,7 @@ x0123 => ''
3091
3092
 
3092
3093
  #### Defined in
3093
3094
 
3094
- parseNumberString.ts:7
3095
+ [parseNumberString.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/parseNumberString.ts#L7)
3095
3096
 
3096
3097
  ___
3097
3098
 
@@ -3121,7 +3122,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
3121
3122
 
3122
3123
  #### Defined in
3123
3124
 
3124
- [parseObject.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/parseObject.ts#L5)
3125
+ [parseObject.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/parseObject.ts#L5)
3125
3126
 
3126
3127
  ___
3127
3128
 
@@ -3150,7 +3151,7 @@ ___
3150
3151
 
3151
3152
  #### Defined in
3152
3153
 
3153
- [parsePath.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/parsePath.ts#L6)
3154
+ [parsePath.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/parsePath.ts#L6)
3154
3155
 
3155
3156
  ___
3156
3157
 
@@ -3173,7 +3174,7 @@ ___
3173
3174
 
3174
3175
  #### Defined in
3175
3176
 
3176
- [parseQuery.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/parseQuery.ts#L8)
3177
+ [parseQuery.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/parseQuery.ts#L8)
3177
3178
 
3178
3179
  ___
3179
3180
 
@@ -3203,7 +3204,7 @@ ___
3203
3204
 
3204
3205
  #### Defined in
3205
3206
 
3206
- [parseQueryString.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/parseQueryString.ts#L6)
3207
+ [parseQueryString.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/parseQueryString.ts#L6)
3207
3208
 
3208
3209
  ___
3209
3210
 
@@ -3226,7 +3227,7 @@ pascalCase('hello-world') => HelloWorld
3226
3227
 
3227
3228
  #### Defined in
3228
3229
 
3229
- [pascalCase.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/pascalCase.ts#L8)
3230
+ [pascalCase.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/pascalCase.ts#L8)
3230
3231
 
3231
3232
  ___
3232
3233
 
@@ -3256,7 +3257,7 @@ ___
3256
3257
 
3257
3258
  #### Defined in
3258
3259
 
3259
- [pick.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/pick.ts#L4)
3260
+ [pick.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/pick.ts#L4)
3260
3261
 
3261
3262
  ___
3262
3263
 
@@ -3279,7 +3280,7 @@ ___
3279
3280
 
3280
3281
  #### Defined in
3281
3282
 
3282
- [replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/replaceCrlf.ts#L4)
3283
+ [replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/replaceCrlf.ts#L4)
3283
3284
 
3284
3285
  ___
3285
3286
 
@@ -3303,7 +3304,7 @@ ___
3303
3304
 
3304
3305
  #### Defined in
3305
3306
 
3306
- [requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/requestFullScreen.ts#L6)
3307
+ [requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/requestFullScreen.ts#L6)
3307
3308
 
3308
3309
  ___
3309
3310
 
@@ -3329,7 +3330,7 @@ reserve(0, '--') => 0
3329
3330
 
3330
3331
  #### Defined in
3331
3332
 
3332
- [reserve.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/reserve.ts#L8)
3333
+ [reserve.ts:8](https://github.com/daysnap/utils/blob/fc94354/src/reserve.ts#L8)
3333
3334
 
3334
3335
  ___
3335
3336
 
@@ -3353,7 +3354,7 @@ ___
3353
3354
 
3354
3355
  #### Defined in
3355
3356
 
3356
- [rgbToHex.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/rgbToHex.ts#L4)
3357
+ [rgbToHex.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/rgbToHex.ts#L4)
3357
3358
 
3358
3359
  ___
3359
3360
 
@@ -3376,7 +3377,32 @@ ___
3376
3377
 
3377
3378
  #### Defined in
3378
3379
 
3379
- [round.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/round.ts#L6)
3380
+ [round.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/round.ts#L6)
3381
+
3382
+ ___
3383
+
3384
+ ### roundUpToNearestInteger
3385
+
3386
+ ▸ **roundUpToNearestInteger**(`num`): `number`
3387
+
3388
+ 向上圆整最接近的整数
3389
+ 0 => 1
3390
+ 123 => 200
3391
+ -123 => -200
3392
+
3393
+ #### Parameters
3394
+
3395
+ | Name | Type |
3396
+ | :------ | :------ |
3397
+ | `num` | `number` |
3398
+
3399
+ #### Returns
3400
+
3401
+ `number`
3402
+
3403
+ #### Defined in
3404
+
3405
+ roundUpToNearestInteger.ts:7
3380
3406
 
3381
3407
  ___
3382
3408
 
@@ -3392,7 +3418,7 @@ ___
3392
3418
 
3393
3419
  #### Defined in
3394
3420
 
3395
- [scrollToTop.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/scrollToTop.ts#L4)
3421
+ [scrollToTop.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/scrollToTop.ts#L4)
3396
3422
 
3397
3423
  ___
3398
3424
 
@@ -3414,7 +3440,7 @@ ___
3414
3440
 
3415
3441
  #### Defined in
3416
3442
 
3417
- [setScrollTop.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/setScrollTop.ts#L4)
3443
+ [setScrollTop.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/setScrollTop.ts#L4)
3418
3444
 
3419
3445
  ___
3420
3446
 
@@ -3438,7 +3464,7 @@ ___
3438
3464
 
3439
3465
  #### Defined in
3440
3466
 
3441
- [sleep.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/sleep.ts#L7)
3467
+ [sleep.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/sleep.ts#L7)
3442
3468
 
3443
3469
  ___
3444
3470
 
@@ -3467,7 +3493,7 @@ ___
3467
3493
 
3468
3494
  #### Defined in
3469
3495
 
3470
- [splitArray.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/splitArray.ts#L4)
3496
+ [splitArray.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/splitArray.ts#L4)
3471
3497
 
3472
3498
  ___
3473
3499
 
@@ -3490,7 +3516,7 @@ ___
3490
3516
 
3491
3517
  #### Defined in
3492
3518
 
3493
- [stringTrim.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/stringTrim.ts#L6)
3519
+ [stringTrim.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/stringTrim.ts#L6)
3494
3520
 
3495
3521
  ___
3496
3522
 
@@ -3512,7 +3538,7 @@ ___
3512
3538
 
3513
3539
  #### Defined in
3514
3540
 
3515
- [stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/stringifyQuery.ts#L7)
3541
+ [stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/fc94354/src/stringifyQuery.ts#L7)
3516
3542
 
3517
3543
  ___
3518
3544
 
@@ -3536,7 +3562,7 @@ ___
3536
3562
 
3537
3563
  #### Defined in
3538
3564
 
3539
- [stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/stringifyQueryString.ts#L6)
3565
+ [stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/stringifyQueryString.ts#L6)
3540
3566
 
3541
3567
  ___
3542
3568
 
@@ -3580,7 +3606,7 @@ ___
3580
3606
 
3581
3607
  #### Defined in
3582
3608
 
3583
- [throttle.ts:48](https://github.com/daysnap/utils/blob/6b0ba36/src/throttle.ts#L48)
3609
+ [throttle.ts:48](https://github.com/daysnap/utils/blob/fc94354/src/throttle.ts#L48)
3584
3610
 
3585
3611
  ___
3586
3612
 
@@ -3623,7 +3649,7 @@ ___
3623
3649
 
3624
3650
  #### Defined in
3625
3651
 
3626
- [throttle.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/throttle.ts#L5)
3652
+ [throttle.ts:5](https://github.com/daysnap/utils/blob/fc94354/src/throttle.ts#L5)
3627
3653
 
3628
3654
  ___
3629
3655
 
@@ -3666,7 +3692,7 @@ ___
3666
3692
 
3667
3693
  #### Defined in
3668
3694
 
3669
- [throttle.ts:25](https://github.com/daysnap/utils/blob/6b0ba36/src/throttle.ts#L25)
3695
+ [throttle.ts:25](https://github.com/daysnap/utils/blob/fc94354/src/throttle.ts#L25)
3670
3696
 
3671
3697
  ___
3672
3698
 
@@ -3688,7 +3714,7 @@ ___
3688
3714
 
3689
3715
  #### Defined in
3690
3716
 
3691
- [toCDB.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/toCDB.ts#L4)
3717
+ [toCDB.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/toCDB.ts#L4)
3692
3718
 
3693
3719
  ___
3694
3720
 
@@ -3710,7 +3736,7 @@ ___
3710
3736
 
3711
3737
  #### Defined in
3712
3738
 
3713
- [toDBC.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/toDBC.ts#L4)
3739
+ [toDBC.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/toDBC.ts#L4)
3714
3740
 
3715
3741
  ___
3716
3742
 
@@ -3734,7 +3760,7 @@ ___
3734
3760
 
3735
3761
  #### Defined in
3736
3762
 
3737
- [typeOf.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/typeOf.ts#L6)
3763
+ [typeOf.ts:6](https://github.com/daysnap/utils/blob/fc94354/src/typeOf.ts#L6)
3738
3764
 
3739
3765
  ___
3740
3766
 
@@ -3762,7 +3788,7 @@ ___
3762
3788
 
3763
3789
  #### Defined in
3764
3790
 
3765
- [withCache.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/withCache.ts#L4)
3791
+ [withCache.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/withCache.ts#L4)
3766
3792
 
3767
3793
  ___
3768
3794
 
@@ -3791,4 +3817,4 @@ ___
3791
3817
 
3792
3818
  #### Defined in
3793
3819
 
3794
- [withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/withPreventConsecutiveClicks.ts#L4)
3820
+ [withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/fc94354/src/withPreventConsecutiveClicks.ts#L4)